Author: duddits                      Date: Sat Mar 19 09:39:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.0.1 (thanks to Adam Osuchowski - adwol at zonk dot pl)
- no_chown.patch (credits same as above)
- autohell enabled (proper BRs applied)
- more verbose %files (do not use wildcards)

---- Files affected:
packages/ndisc6:
   ndisc6.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/ndisc6/ndisc6.spec
diff -u packages/ndisc6/ndisc6.spec:1.7 packages/ndisc6/ndisc6.spec:1.8
--- packages/ndisc6/ndisc6.spec:1.7     Tue Feb 13 08:16:49 2007
+++ packages/ndisc6/ndisc6.spec Sat Mar 19 10:39:13 2011
@@ -2,13 +2,17 @@
 Summary:       Neighbor Discovery tools for IPv6
 Summary(pl.UTF-8):     Narzędzia do rozpoznawania sąsiadów dla IPv6
 Name:          ndisc6
-Version:       0.4.1
+Version:       1.0.1
 Release:       1
 License:       GPL v2
 Group:         Networking/Admin
 Source0:       http://people.via.ecp.fr/~rem/ndisc6/%{name}-%{version}.tar.bz2
-# Source0-md5: 7dad76e8ade1c0d233ca2f4b4cb93be5
+# Source0-md5: d0b8233a60e29ad78d9aebb8cef0b3f2
+Patch0:                %{name}-no_chown.patch
 URL:           http://people.via.ecp.fr/~rem/ndisc6/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,27 +31,56 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} ndisc6 rdisc6 \
-       CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -Wall"
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make} \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install ndisc6 rdisc6 $RPM_BUILD_ROOT%{_sbindir}
-install ndisc6.8 rdisc6.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS README
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%dir %{_sysconfdir}/rdnssd
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/rdnssd/merge-hook
+%attr(755,root,root) %{_bindir}/dnssort
+%attr(755,root,root) %{_bindir}/name2addr
+%attr(755,root,root) %ghost %{_bindir}/addr2name
+%attr(4754,root,adm) %{_bindir}/ndisc6
+%attr(4754,root,adm) %{_bindir}/rdisc6
+%attr(4754,root,adm) %{_bindir}/rltraceroute6
+%attr(755,root,root) %{_bindir}/tcptraceroute6
+%attr(755,root,root) %ghost %{_bindir}/tracert6
+%attr(755,root,root) %{_bindir}/tcpspray
+%attr(755,root,root) %ghost %{_bindir}/tcpspray6
+%attr(755,root,root) %{_sbindir}/rdnssd
+%{_mandir}/man1/addr2name.1*
+%attr(644,root,root) %ghost %{_mandir}/man1/name2addr.1
+%{_mandir}/man1/dnssort.1*
+%{_mandir}/man1/tcpspray.1*
+%attr(644,root,root) %ghost %{_mandir}/man1/tcpspray6.1
+%{_mandir}/man8/ndisc6.8*
+%{_mandir}/man8/rdisc6.8*
+%{_mandir}/man8/rdnssd.8*
+%{_mandir}/man8/rltraceroute6.8*
+%attr(644,root,root) %ghost %{_mandir}/man8/tcptraceroute6.8
+%attr(644,root,root) %ghost %{_mandir}/man8/tracert6.8
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -55,6 +88,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2011/03/19 09:39:13  duddits
+- up to 1.0.1 (thanks to Adam Osuchowski - adwol at zonk dot pl)
+- no_chown.patch (credits same as above)
+- autohell enabled (proper BRs applied)
+- more verbose %files (do not use wildcards)
+
 Revision 1.7  2007/02/13 07:16:49  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ndisc6/ndisc6.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to