rpms/comgt/FC-6 comgt-rpm.patch, NONE, 1.1 comgt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Sat Aug 18 21:19:54 UTC 2007
- Previous message (by thread): rpms/comgt/F-7 comgt-rpm.patch, NONE, 1.1 comgt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/alsa-tools/FC-6 alsa-tools.spec,1.13,1.14 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rathann
Update of /cvs/pkgs/rpms/comgt/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6213
Modified Files:
.cvsignore sources
Added Files:
comgt-rpm.patch comgt.spec
Log Message:
Initial import into FC-6 branch
comgt-rpm.patch:
--- NEW FILE comgt-rpm.patch ---
--- comgt.0.32/Makefile.r 2006-10-20 16:49:46.000000000 +0200
+++ comgt.0.32/Makefile 2007-06-27 16:22:32.000000000 +0200
@@ -25,36 +25,26 @@
LIB = -L/usr/local/lib
INC = -I/usr/local/include
-EXE = /usr/local/bin
-MAN = /usr/share/man/man1
+EXE = $(DESTDIR)/usr/bin
+MAN = $(DESTDIR)/usr/share/man/man1
CPROG = comgt
-SCRIPTPATH = /etc/comgt/
+SCRIPTPATH = $(DESTDIR)/etc/comgt/
SCRIPTSRC = ./scripts/
BIN = $(CPROG)
MANP = comgt.1 sigmon.1
-CFLAGS = -c
-LDFLAGS =
+CFLAGS = -c $(OPTFLAGS)
+LDFLAGS = $(OPTFLAGS)
all: $(BIN)
install:
- chmod a-w $(BIN)
- chmod u+rw $(BIN)
- chmod a+x $(BIN)
- cp $(BIN) $(EXE)
- chmod a-wx $(MANP)
- chmod u+rw $(MANP)
- chmod a+r $(MANP)
- cp $(MANP) $(MAN)
- -mkdir $(SCRIPTPATH)
- chmod a-w $(SCRIPTPATH)
- chmod u+rw $(SCRIPTPATH)
- chmod a+x $(SCRIPTPATH)
- cp -f $(SCRIPTSRC)* $(SCRIPTPATH)
- chmod a-w $(SCRIPTPATH)*
- chmod u+rw $(SCRIPTPATH)*
- chmod a+x $(SCRIPTPATH)*
+ -mkdir -p $(EXE)
+ install -pm755 $(BIN) $(EXE)
+ -mkdir -p $(MAN)
+ install -pm644 $(MANP) $(MAN)
+ -mkdir -p $(SCRIPTPATH)
+ install -pm644 $(SCRIPTSRC)* $(SCRIPTPATH)
--- NEW FILE comgt.spec ---
Summary: Linux UMTS/GPRS command-line tool
Name: comgt
Version: 0.32
Release: 1%{?dist}
URL: http://sourceforge.net/projects/comgt
Group: Applications/Internet
Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}.%{version}.tgz
Patch0: %{name}-rpm.patch
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
%description
Option GlobeTrotter GPRS/EDGE/3G/HSDPA and Vodafone 3G/GPRS datacard
control tool.
%prep
%setup -q -n %{name}.%{version}
%patch0 -p1 -b .r
find . -type f | xargs chmod 644
%build
%{__make} OPTFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc scripts/README CHANGELOG gpl.txt gprs.txt umts.txt
%dir /etc/%{name}
%config /etc/%{name}/*
%{_bindir}/%{name}
%{_mandir}/man1/*.1*
%changelog
* Wed Jun 27 2007 Dominik Mierzejewski <rpm at greysector.net> 0.32-1
- initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/comgt/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Aug 2007 18:37:34 -0000 1.1
+++ .cvsignore 18 Aug 2007 21:19:22 -0000 1.2
@@ -0,0 +1 @@
+comgt.0.32.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/comgt/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Aug 2007 18:37:34 -0000 1.1
+++ sources 18 Aug 2007 21:19:22 -0000 1.2
@@ -0,0 +1 @@
+db2452680c3d953631299e331daf49ef comgt.0.32.tgz
- Previous message (by thread): rpms/comgt/F-7 comgt-rpm.patch, NONE, 1.1 comgt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/alsa-tools/FC-6 alsa-tools.spec,1.13,1.14 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list