You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.7 KiB
72 lines
1.7 KiB
12 years ago
|
Summary: Qt support library for PackageKit
|
||
|
Name: PackageKit-Qt
|
||
|
Version: 0.8.6
|
||
|
Release: 2%{?dist}
|
||
|
License: LGPLv2+
|
||
|
URL: http://www.packagekit.org
|
||
|
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
|
||
|
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: libtool
|
||
|
BuildRequires: qt-devel
|
||
|
|
||
|
Obsoletes: PackageKit-qt < 0.8.6
|
||
|
Provides: PackageKit-qt = %{version}-%{release}
|
||
|
Provides: PackageKit-qt%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
# required for /usr/share/dbus-1/interfaces/*.xml
|
||
|
BuildRequires: PackageKit
|
||
|
|
||
|
%description
|
||
|
PackageKit-qt is a Qt support library for PackageKit
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development headers for PackageKit-Qt
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
Obsoletes: PackageKit-qt-devel < 0.8.6
|
||
|
Provides: PackageKit-qt-devel = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
Development headers and libraries for PackageKit-Qt.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
# cannot do in-tree build
|
||
|
mkdir build
|
||
|
cd build
|
||
|
%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} ../
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
cd build
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc AUTHORS NEWS COPYING
|
||
|
%{_libdir}/*libpackagekit-qt2.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc AUTHORS NEWS COPYING
|
||
|
%{_libdir}/libpackagekit-qt2.so
|
||
|
%{_libdir}/pkgconfig/packagekit-qt2.pc
|
||
|
%dir %{_includedir}/PackageKit/packagekit-qt2
|
||
|
%{_includedir}/PackageKit/packagekit-qt2/*
|
||
|
%dir %{_libdir}/cmake/packagekit-qt2
|
||
|
%{_libdir}/cmake/packagekit-qt2/*.cmake
|
||
|
|
||
|
%changelog
|
||
|
* Mon Nov 26 2012 Richard Hughes <richard@hughsie.com> 0.8.6-2
|
||
|
- Added obsoletes/provides as required for the Fedora package review
|
||
|
|
||
|
* Mon Nov 26 2012 Richard Hughes <richard@hughsie.com> 0.8.6-1
|
||
|
- Initial version for Fedora package review
|