SPECS: qzion.spec - added BRs - fixed build - added -devel subpackage - pac...
shadzik
shadzik at pld-linux.org
Sun Nov 2 17:47:58 CET 2008
Author: shadzik Date: Sun Nov 2 16:47:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added BRs
- fixed build
- added -devel subpackage
- packaged all files
- TODO: needs a better description
---- Files affected:
SPECS:
qzion.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/qzion.spec
diff -u SPECS/qzion.spec:1.2 SPECS/qzion.spec:1.3
--- SPECS/qzion.spec:1.2 Sun Nov 2 17:32:14 2008
+++ SPECS/qzion.spec Sun Nov 2 17:47:52 2008
@@ -1,4 +1,7 @@
# $Revision$, $Date$
+
+%define qtver 4.4.3
+
Summary: qzion
Summary(pl.UTF-8): qzion
Name: qzion
@@ -9,8 +12,14 @@
Source0: http://dev.openbossa.org/qedje/downloads/source/%{name}/%{name}-%{version}.tar.gz
# Source0-md5: 293cb0a9783f7111d97838fea8b6970a
URL: http://dev.openbossa.org/trac/qzion
+BuildRequires: QtCore-devel >= %{qtver}
+BuildRequires: QtGui-devel >= %{qtver}
+BuildRequires: QtWebKit-devel >= %{qtver}
BuildRequires: eet-devel
+BuildRequires: pkgconfig
+BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.164
+Requires(post,postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -19,25 +28,50 @@
%description -l pl.UTF-8
qzion
+%package devel
+Summary: Header files for qzion library
+Summary(pl.UTF-8): Pliki nagÅ~Bówkowe biblioteki qzion
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for qzion library.
+
+%description devel -l pl.UTF-8
+Pliki nagÅ~Bówkowe biblioteki qzion.
+
%prep
%setup -q
%build
-qmake-qt4
+qmake-qt4 \
+ PREFIX=%{_prefix}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ INSTALL_ROOT=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/kde4/plasma_applet_wifi_signal.so
+%attr(755,root,root) %{_libdir}/libqzion.so.*.*.*
+%attr(755,root,root) %{_libdir}/libqzion.prl
+%attr(755,root,root) %ghost %{_libdir}/libqzion.so.?
+%attr(755,root,root) %ghost %{_libdir}/libqzion.so.?.?
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libqzion.so
+%{_includedir}/*.h
+%{_pkgconfigdir}/qzion.pc
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -45,6 +79,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/11/02 16:47:52 shadzik
+- added BRs
+- fixed build
+- added -devel subpackage
+- packaged all files
+- TODO: needs a better description
+
Revision 1.2 2008/11/02 16:32:14 shadzik
- BR: eet-devel
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qzion.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list