Author: shadzik                      Date: Fri Jan 21 17:18:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init
- needs more BRs (glib ones especially)
- rel 0.1

---- Files affected:
packages/ntrack:
   ntrack.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ntrack/ntrack.spec
diff -u /dev/null packages/ntrack/ntrack.spec:1.1
--- /dev/null   Fri Jan 21 18:18:29 2011
+++ packages/ntrack/ntrack.spec Fri Jan 21 18:18:24 2011
@@ -0,0 +1,161 @@
+# $Revision$, $Date$
+#
+%define                _realver        %(echo %{version} | tr -d .)
+
+Summary:       Program
+Summary(pl.UTF-8):     Program
+Name:          ntrack
+Version:       0.11
+Release:       0.1
+License:       GPL v3/LGPL v3
+Group:         Development/Libraries
+Source0:       
http://launchpad.net/ntrack/main/011/+download/%{name}-%{_realver}.tar.gz
+# Source0-md5: 7ae0437e0865f1ec313b1436d4d75a43
+URL:           http://launchpad.net/ntrack
+Patch0:                %{name}-h2def.patch
+BuildRequires: QtCore-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-pygobject-devel
+BuildRequires: rpmbuild(macros) >= 1.600
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+
+%package qt4
+Summary:       Qt4 bindings for ntrack library
+Summary(pl.UTF-8):     Dowiązania qt4 dla  biblioteki ntrack
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description qt4
+Qt4 bindings for ntrack library.
+
+%description qt4 -l pl.UTF-8
+Dowiązania qt4 dla  biblioteki ntrack.
+
+%package glib
+Summary:       Glib bindings for ntrack library
+Summary(pl.UTF-8):     Dowiązania glib dla  biblioteki ntrack
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description glib
+Glib bindings for ntrack library.
+
+%description glib -l pl.UTF-8
+Dowiązania glib dla  biblioteki ntrack.
+
+%package devel
+Summary:       Header files for ntrack library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki ntrack
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-qt4 = %{version}-%{release}
+Requires:      %{name}-glib = %{version}-%{release}
+
+%description devel
+Header files for ntrack library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki ntrack.
+
+%package static
+Summary:       Static ntrack library
+Summary(pl.UTF-8):     Statyczna biblioteka ntrack
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static ntrack library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka ntrack.
+
+%prep
+%setup -q -n %{name}-%{_realver}
+%patch0 -p0
+
+%build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -j1 install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%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(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libntrack.so.?
+%attr(755,root,root) %{_libdir}/libntrack.so.*.*.*
+%dir %{_libdir}/ntrack
+%dir %{_libdir}/ntrack/modules
+%attr(755,root,root) %{_libdir}/ntrack/modules/ntrack-libnl1.so
+%attr(755,root,root) %{_libdir}/python2.7/site-packages/pyntrack.so
+
+%files qt4
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libntrack-qt4.so.?
+%attr(755,root,root) %{_libdir}/libntrack-qt4.so.*.*.*
+
+%files glib
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libntrack-glib.so.?
+%attr(755,root,root) %{_libdir}/libntrack-glib.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libntrack-gobject.so.?
+%attr(755,root,root) %{_libdir}/libntrack-gobject.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libntrack-glib.so
+%attr(755,root,root) %{_libdir}/libntrack-gobject.so
+%attr(755,root,root) %{_libdir}/libntrack-qt4.so
+%attr(755,root,root) %{_libdir}/libntrack.so
+%{_pkgconfigdir}/libntrack*.pc
+%dir %{_includedir}/ntrack
+%{_includedir}/ntrack/common
+%{_includedir}/ntrack/glib
+%{_includedir}/ntrack/gobject
+%{_includedir}/ntrack/qt4
+
+%files static
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libntrack-glib.a
+%attr(755,root,root) %{_libdir}/libntrack-gobject.a
+%attr(755,root,root) %{_libdir}/libntrack-qt4.a
+%attr(755,root,root) %{_libdir}/libntrack.a
+%attr(755,root,root) %{_libdir}/ntrack/modules/ntrack-libnl1.a
+%attr(755,root,root) %{_libdir}/python2.7/site-packages/pyntrack.a
+
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/01/21 17:18:24  shadzik
+- init
+- needs more BRs (glib ones especially)
+- rel 0.1
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to