SPECS: trickle.spec - updated to 1.07 - added -fwrite.patch & -build.patch, ...

charles charles at pld-linux.org
Wed Oct 8 01:12:30 CEST 2008


Author: charles                      Date: Tue Oct  7 23:12:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.07
- added -fwrite.patch & -build.patch, builds now
- lt/ac/am rebuild + BRs
- cleanups, sorted, updated TODO, rel. 0.5

---- Files affected:
SPECS:
   trickle.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/trickle.spec
diff -u SPECS/trickle.spec:1.1 SPECS/trickle.spec:1.2
--- SPECS/trickle.spec:1.1	Tue Oct  7 12:10:53 2008
+++ SPECS/trickle.spec	Wed Oct  8 01:12:24 2008
@@ -1,18 +1,22 @@
 # $Revision$, $Date$
 # TODO:
-# - doesn't build
 # - iniscript needed
 # - split into client and daemon
 Summary:	portable lightweight userspace bandwidth shaper
 Name:		trickle
-Version:	1.06
-Release:	0.1
+Version:	1.07
+Release:	0.5
 License:	BSD
 Group:		Applications/Networking
 Source0:	http://www.monkey.org/~marius/trickle/%{name}-%{version}.tar.gz
-# Source0-md5:	8e9b7fcdd49ee8fb94700dd1653f5537
+# Source0-md5:	860ebc4abbbd82957c20a28bd9390d7d
+Patch0:		%{name}-build.patch
+Patch1:		%{name}-fwrite.patch
 URL:		http://www.monkey.org/~marius/trickle/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	libevent-devel
+BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,29 +33,43 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+# ugly hack
+:> .c
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
 %{__make} install \
 	DESTDIR="$RPM_BUILD_ROOT"
 
+install trickled.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README TODO
-%{_mandir}/man1/trickle.1*
-%{_mandir}/man5/trickled.conf.5*
-%{_mandir}/man8/trickled.8*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/trickled.conf
 %attr(755,root,root) %{_bindir}/trickle
 %attr(755,root,root) %{_bindir}/tricklectl
 %attr(755,root,root) %{_bindir}/trickled
-%{_libdir}/trickle/
+%attr(755,root,root) %{_libdir}/trickle
+%{_mandir}/man1/trickle.1*
+%{_mandir}/man5/trickled.conf.5*
+%{_mandir}/man8/trickled.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +77,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/10/07 23:12:24  charles
+- updated to 1.07
+- added -fwrite.patch & -build.patch, builds now
+- lt/ac/am rebuild + BRs
+- cleanups, sorted, updated TODO, rel. 0.5
+
 Revision 1.1  2008/10/07 10:10:53  blues
 - new, doesn't build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/trickle.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list