diff --git a/libntrack.spec b/libntrack.spec index e97d4ef..5098faf 100644 --- a/libntrack.spec +++ b/libntrack.spec @@ -1,6 +1,6 @@ Name: libntrack -Version: 011 -Release: 2mamba +Version: 017 +Release: 1mamba Summary: A library for application developers that want to get events on network online status changes Group: System/Libraries Vendor: openmamba @@ -12,10 +12,11 @@ Patch0: %{name}-014-deadloop.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libnl-devel -BuildRequires: libpython-devel +BuildRequires: libnl1-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END @@ -31,8 +32,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package qt4 Group: System/Libraries @@ -41,7 +41,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description qt4 ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - This package contains the Qt4 ntrack library. %package qt4-devel @@ -52,8 +51,7 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description qt4-devel ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package glib Group: System/Libraries @@ -62,7 +60,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description glib ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - This package contains the Glib ntrack library. %package glib-devel @@ -73,8 +70,7 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description glib-devel ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package -n pyntrack Group: System/Libraries @@ -83,18 +79,22 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n pyntrack ntrack aims to be a lightweight and easy to use library for application developers that want to get events on network online status changes such as online, offline or route changes. - This package contains the Python binding to the ntrack library. # FIXME: #checking for LIBNL2... no +%debug_package + %prep %setup -q -n ntrack-%{version} -%patch0 -p0 +#%patch0 -p0 %build -%configure +%configure \ + --disable-static \ + --without-pygobject + %make %install @@ -118,18 +118,19 @@ rm -rf %{buildroot}%{_docdir}/ntrack %files %defattr(-,root,root) %{_libdir}/libntrack.so.* -%{_libdir}/ntrack/modules/ntrack-libnl1.a %{_libdir}/ntrack/modules/ntrack-libnl1.la %{_libdir}/ntrack/modules/ntrack-libnl1.so +%{_libdir}/ntrack/modules/ntrack-libnl3_x.la +%{_libdir}/ntrack/modules/ntrack-libnl3_x.so +%doc AUTHORS COPYING COPYING.LESSER %files devel %defattr(-,root,root) %{_includedir}/ntrack/common/* -%{_libdir}/libntrack.a %{_libdir}/libntrack.la %{_libdir}/libntrack.so %{_libdir}/pkgconfig/libntrack.pc -%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README +%doc ChangeLog NEWS README %files qt4 %defattr(-,root,root) @@ -138,7 +139,6 @@ rm -rf %{buildroot}%{_docdir}/ntrack %files qt4-devel %defattr(-,root,root) %{_includedir}/ntrack/qt4/* -%{_libdir}/libntrack-qt4.a %{_libdir}/libntrack-qt4.la %{_libdir}/libntrack-qt4.so %{_libdir}/pkgconfig/libntrack-qt4.pc @@ -152,24 +152,28 @@ rm -rf %{buildroot}%{_docdir}/ntrack %defattr(-,root,root) %{_includedir}/ntrack/glib/* %{_includedir}/ntrack/gobject/* -%{_libdir}/libntrack-glib.a %{_libdir}/libntrack-glib.la %{_libdir}/libntrack-glib.so -%{_libdir}/libntrack-gobject.a %{_libdir}/libntrack-gobject.la %{_libdir}/libntrack-gobject.so %{_libdir}/pkgconfig/libntrack-glib.pc %{_libdir}/pkgconfig/libntrack-gobject.pc -%files -n pyntrack -%defattr(-,root,root) -%{python_sitearch}/pyntrack.a -%{python_sitearch}/pyntrack.la -%{python_sitearch}/pyntrack.so +#%files -n pyntrack +#%defattr(-,root,root) +#%{python_sitearch}/pyntrack.la +#%{python_sitearch}/pyntrack.so %changelog -* Fri May 06 2011 Silvan Calarco 011-2mamba +* Tue Feb 16 2021 Silvan Calarco 017-1mamba +- update to 017 + +* Thu May 05 2011 Silvan Calarco 014-2mamba - added deadloop fix patch affecting kded4 from https://bugs.launchpad.net/ntrack/+bug/755608 +* Thu May 05 2011 Silvan Calarco 014-1mamba +- update to 014 + * Sun Mar 06 2011 Silvan Calarco 011-1mamba - package created by autospec +libntrack-014-deadloop.patch