From 02b06a19077ac0ef27eec362fc0a79374a861395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Wed, 14 Nov 2012 14:11:09 +0100 Subject: [PATCH] builds --- .gitignore | 1 + lldpd.spec | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 8c288db..92ee548 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ lldpd-0.5.7.tar.gz +.gitignore diff --git a/lldpd.spec b/lldpd.spec index 0996fc8..9dc4f6c 100644 --- a/lldpd.spec +++ b/lldpd.spec @@ -1,13 +1,15 @@ -Summary: Open Source implementation of IEEE 802.1AB -Summary(pl.UTF-8): Implementacja IEEE 802.1AB z otwartymi źródłami +## TODO: +# - separate package with client and daemon (possible?) + +Summary: Implementation of IEEE 802.1AB, EDP and CDP +Summary(pl.UTF-8): Implementacja IEEE 802.1AB, EDP oraz CDP Name: lldpd Version: 0.5.7 Release: 0.1 License: GPL Group: Networking -#Source0: http://dl.sourceforge.net/openlldp/%{name}-%{version}%{subver}.tar.bz2 Source0: http://media.luffy.cx/files/lldpd/%{name}-%{version}.tar.gz -# Source0-md5: 68d11173cfaecd5ae00ec57a28d94ee5 +# Source0-md5: 3db3a80fa6a384cd59e9d6a42ce7b630 #Source2: %{name}-lldpd.init #Source3: %{name}-lldpd.sysconfig #Source4: %{name}-lldpd.service @@ -42,15 +44,12 @@ on bridges. More complex setups may give false results. %setup -q %build -%{__aclocal} -%{__autoconf} -%{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT -#install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_mandir}/man8,%{systemdunitdir}} +#install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{systemdunitdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -82,10 +81,12 @@ fi %files %defattr(644,root,root,755) -#%doc AUTHORS ChangeLog LICENSE README +%doc CHANGELOG README.md #%attr(754,root,root) /etc/rc.d/init.d/lldpd #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/lldpd #%{systemdunitdir}/lldpd.service -#%attr(755,root,root) %{_sbindir}/lldpd -#%attr(755,root,root) %{_bindir}/lldpneighbors -#%{_mandir}/man8/*.8* +%attr(755,root,root) %{_sbindir}/lldpd +%attr(755,root,root) %{_sbindir}/lldpctl +%{_mandir}/man8/lldpd.8* +%{_mandir}/man8/lldpctl.8* + -- 2.44.0