SPECS: qpackagekit.spec - added BRs - lots of fixes - rel 1
shadzik
shadzik at pld-linux.org
Wed Nov 5 19:39:00 CET 2008
Author: shadzik Date: Wed Nov 5 18:39:00 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added BRs
- lots of fixes
- rel 1
---- Files affected:
SPECS:
qpackagekit.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/qpackagekit.spec
diff -u SPECS/qpackagekit.spec:1.1 SPECS/qpackagekit.spec:1.2
--- SPECS/qpackagekit.spec:1.1 Fri Oct 17 20:37:45 2008
+++ SPECS/qpackagekit.spec Wed Nov 5 19:38:55 2008
@@ -1,15 +1,24 @@
# $Revision$, $Date$
+
+%define qtver 4.4.1
+
Summary: qpackagekit
Summary(pl.UTF-8): qpackagekit
Name: qpackagekit
Version: 0.3.1
-Release: 0.1
+Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://maison.mymadcat.com/~madcat/qpackagekit/%{name}-%{version}.tar.gz
# Source0-md5: 6d2a380ea59056b09cad68191cdde860
-URL: http://
+BuildRequires: QtCore-devel >= %{qtver}
+BuildRequires: QtDBus-devel >= %{qtver}
+BuildRequires: QtGui-devel >= %{qtver}
+BuildRequires: cmake >= 2.6.1-2
BuildRequires: rpmbuild(macros) >= 1.129
+BuildRequires: qt4-build >= %{qtver}
+BuildRequires: qt4-qmake >= %{qtver}
+Requires(post,postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -35,12 +44,11 @@
%setup -q
%build
-export QTDIR=%{_prefix}
-mkdir build
+install -d build
cd build
%cmake \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- ../
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ ../
%{__make}
%install
@@ -52,19 +60,22 @@
%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}/libpackagekit-qt.so.?
%attr(755,root,root) %{_libdir}/libpackagekit-qt.so.*.*
-%dir %{_includedir}/packagekit-qt
-%{_includedir}/packagekit-qt/QPackageKit
+%attr(755,root,root) %ghost %{_libdir}/libpackagekit-qt.so.?
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpackagekit-qt.so
+%dir %{_includedir}/packagekit-qt
+%{_includedir}/packagekit-qt/QPackageKit
%{_includedir}/packagekit-qt/client.h
%{_includedir}/packagekit-qt/package.h
%{_includedir}/packagekit-qt/transaction.h
-%attr(755,root,root) %{_libdir}/libpackagekit-qt.so
%{_datadir}/cmake/Modules/FindQPackageKit.cmake
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -73,6 +84,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008/11/05 18:38:55 shadzik
+- added BRs
+- lots of fixes
+- rel 1
+
Revision 1.1 2008/10/17 18:37:45 rotom
- initial
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qpackagekit.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list