update to 1.1 [release 1.1-1mamba;Tue Dec 08 2020]
This commit is contained in:
parent
e9df0218bd
commit
9474e2e135
@ -1,19 +1,21 @@
|
|||||||
Name: open-lldp
|
Name: open-lldp
|
||||||
Version: 0.9.46
|
Version: 1.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A core lldp engine for implementing TLVs
|
Summary: A core lldp engine for implementing TLVs
|
||||||
Group: System/Networking
|
Group: Applications/Networking
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.open-lldp.org/
|
URL: http://www.open-lldp.org/
|
||||||
Source: http://ftp-osl.osuosl.org/pub/open-lldp/open-lldp-%{version}.tar.gz
|
Source: https://github.com/intel/openlldp.git/v%{version}/openlldp-%{version}.tar.bz2
|
||||||
|
#Source: http://ftp-osl.osuosl.org/pub/open-lldp/open-lldp-%{version}.tar.gz
|
||||||
Patch0: open-lldp-0.9.46-bootstrap.patch
|
Patch0: open-lldp-0.9.46-bootstrap.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
BuildRequires: libconfig-devel
|
BuildRequires: libconfig-devel
|
||||||
BuildRequires: libnl1-devel
|
BuildRequires: libnl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
@ -56,28 +58,36 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n openlldp-%{version}
|
||||||
%patch0 -p1
|
#%patch0 -p1
|
||||||
|
./bootstrap.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall \
|
||||||
|
systemdsystemunitdir=%{_unitdir}
|
||||||
|
|
||||||
install -D -m0644 lldpad.service %{buildroot}%{_unitdir}/lldpad.service
|
#install -D -m0644 lldpad.service %{buildroot}%{_unitdir}/lldpad.service
|
||||||
rm -f %{buildroot}%{_sysconfdir}/init.d/lldpad
|
#rm -f %{buildroot}%{_sysconfdir}/init.d/lldpad
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ $1 -ge 1 ]; then
|
%systemd_post lldpad.socket
|
||||||
systemctl -q daemon-reload
|
:
|
||||||
fi
|
|
||||||
|
%preun
|
||||||
|
%systemd_preun lldpad.socket
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun lldpad.socket
|
||||||
:
|
:
|
||||||
|
|
||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
@ -90,7 +100,9 @@ fi
|
|||||||
%{_sbindir}/dcbtool
|
%{_sbindir}/dcbtool
|
||||||
%{_sbindir}/lldpad
|
%{_sbindir}/lldpad
|
||||||
%{_sbindir}/lldptool
|
%{_sbindir}/lldptool
|
||||||
|
%{_sbindir}/vdptool
|
||||||
%{_unitdir}/lldpad.service
|
%{_unitdir}/lldpad.service
|
||||||
|
%{_unitdir}/lldpad.socket
|
||||||
%{_mandir}/man8/dcbtool.8*
|
%{_mandir}/man8/dcbtool.8*
|
||||||
%{_mandir}/man8/lldpad.8*
|
%{_mandir}/man8/lldpad.8*
|
||||||
%{_mandir}/man8/lldptool-app.8*
|
%{_mandir}/man8/lldptool-app.8*
|
||||||
@ -102,6 +114,8 @@ fi
|
|||||||
%{_mandir}/man8/lldptool-pfc.8*
|
%{_mandir}/man8/lldptool-pfc.8*
|
||||||
%{_mandir}/man8/lldptool-vdp.8*
|
%{_mandir}/man8/lldptool-vdp.8*
|
||||||
%{_mandir}/man8/lldptool.8*
|
%{_mandir}/man8/lldptool.8*
|
||||||
|
%{_mandir}/man3/liblldp_clif-vdp22.3*
|
||||||
|
%{_mandir}/man8/vdptool.8*
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -120,5 +134,8 @@ fi
|
|||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
|
||||||
|
- update to 1.1
|
||||||
|
|
||||||
* Mon Jun 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.46-1mamba
|
* Mon Jun 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.46-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user