2024-01-06 05:14:45 +01:00
|
|
|
Name: libntrack
|
2024-01-06 05:14:46 +01:00
|
|
|
Version: 017
|
|
|
|
Release: 1mamba
|
2024-01-06 05:14:45 +01:00
|
|
|
Summary: A library for application developers that want to get events on network online status changes
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://launchpad.net/ntrack
|
|
|
|
Source: http://launchpad.net/ntrack/main/%{version}/+download/ntrack-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-014-deadloop.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:14:46 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 05:14:45 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libnl-devel
|
2024-01-06 05:14:46 +01:00
|
|
|
BuildRequires: libnl1-devel
|
2024-01-06 05:14:45 +01:00
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
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.
|
2024-01-06 05:14:46 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%package qt4
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: %{name} binding for Qt4
|
|
|
|
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
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}-qt4
|
|
|
|
Requires: %{name}-qt4 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
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.
|
2024-01-06 05:14:46 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%package glib
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: %{name} binding for Glib
|
|
|
|
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
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}-glib
|
|
|
|
Requires: %{name}-glib = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
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.
|
2024-01-06 05:14:46 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%package -n pyntrack
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Python binding for %{name}
|
|
|
|
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
|
|
|
|
|
2024-01-06 05:14:46 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:14:45 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n ntrack-%{version}
|
2024-01-06 05:14:46 +01:00
|
|
|
#%patch0 -p0
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:14:46 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--without-pygobject
|
|
|
|
|
2024-01-06 05:14:45 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_docdir}/ntrack
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post qt4 -p /sbin/ldconfig
|
|
|
|
%postun qt4 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post glib -p /sbin/ldconfig
|
|
|
|
%postun glib -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libntrack.so.*
|
|
|
|
%{_libdir}/ntrack/modules/ntrack-libnl1.la
|
|
|
|
%{_libdir}/ntrack/modules/ntrack-libnl1.so
|
2024-01-06 05:14:46 +01:00
|
|
|
%{_libdir}/ntrack/modules/ntrack-libnl3_x.la
|
|
|
|
%{_libdir}/ntrack/modules/ntrack-libnl3_x.so
|
|
|
|
%doc AUTHORS COPYING COPYING.LESSER
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/ntrack/common/*
|
|
|
|
%{_libdir}/libntrack.la
|
|
|
|
%{_libdir}/libntrack.so
|
|
|
|
%{_libdir}/pkgconfig/libntrack.pc
|
2024-01-06 05:14:46 +01:00
|
|
|
%doc ChangeLog NEWS README
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%files qt4
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libntrack-qt4.so.*
|
|
|
|
|
|
|
|
%files qt4-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/ntrack/qt4/*
|
|
|
|
%{_libdir}/libntrack-qt4.la
|
|
|
|
%{_libdir}/libntrack-qt4.so
|
|
|
|
%{_libdir}/pkgconfig/libntrack-qt4.pc
|
|
|
|
|
|
|
|
%files glib
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libntrack-glib.so.*
|
|
|
|
%{_libdir}/libntrack-gobject.so.*
|
|
|
|
|
|
|
|
%files glib-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/ntrack/glib/*
|
|
|
|
%{_includedir}/ntrack/gobject/*
|
|
|
|
%{_libdir}/libntrack-glib.la
|
|
|
|
%{_libdir}/libntrack-glib.so
|
|
|
|
%{_libdir}/libntrack-gobject.la
|
|
|
|
%{_libdir}/libntrack-gobject.so
|
|
|
|
%{_libdir}/pkgconfig/libntrack-glib.pc
|
|
|
|
%{_libdir}/pkgconfig/libntrack-gobject.pc
|
|
|
|
|
2024-01-06 05:14:46 +01:00
|
|
|
#%files -n pyntrack
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%{python_sitearch}/pyntrack.la
|
|
|
|
#%{python_sitearch}/pyntrack.so
|
2024-01-06 05:14:45 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:14:46 +01:00
|
|
|
* Tue Feb 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 017-1mamba
|
|
|
|
- update to 017
|
|
|
|
|
|
|
|
* Thu May 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 014-2mamba
|
2024-01-06 05:14:45 +01:00
|
|
|
- added deadloop fix patch affecting kded4 from https://bugs.launchpad.net/ntrack/+bug/755608
|
|
|
|
|
2024-01-06 05:14:46 +01:00
|
|
|
* Thu May 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 014-1mamba
|
|
|
|
- update to 014
|
|
|
|
|
2024-01-06 05:14:45 +01:00
|
|
|
* Sun Mar 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 011-1mamba
|
|
|
|
- package created by autospec
|
2024-01-06 05:14:46 +01:00
|
|
|
libntrack-014-deadloop.patch
|