]> git.pld-linux.org Git - packages/PackageKit-qt2.git/blob - PackageKit-qt2.spec
- qt4/qt5 note
[packages/PackageKit-qt2.git] / PackageKit-qt2.spec
1 Summary:        packagekit-qt2 library
2 Summary(pl.UTF-8):      Biblioteka packagekit-qt2
3 Name:           PackageKit-qt2
4 Version:        0.8.8
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.packagekit.org/releases/PackageKit-Qt-%{version}.tar.xz
9 # Source0-md5:  55ba87425a8d7a8b1f021e8769b88534
10 URL:            http://www.packagekit.org/
11 BuildRequires:  PackageKit-devel >= 0.8.11
12 BuildRequires:  QtCore-devel >= 4.4.0
13 BuildRequires:  QtDBus-devel >= 4.4.0
14 BuildRequires:  QtSql-devel >= 4.4.0
15 BuildRequires:  cmake >= 2.8.6
16 BuildRequires:  pkgconfig
17 BuildRequires:  qt4-build >= 4.4.0
18 Requires:       QtCore >= 4.4.0
19 Requires:       QtDBus >= 4.4.0
20 Requires:       QtSql >= 4.4.0
21 Obsoletes:      PackageKit-qt < 0.8.4
22 Obsoletes:      qpackagekit < 0.4.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 packagekit-qt2 library.
27
28 %description -l pl.UTF-8
29 Biblioteka packagekit-qt2.
30
31 %package devel
32 Summary:        Header files for packagekit-qt2 library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki packagekit-qt2
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       QtCore-devel >= 4.4.0
37 Requires:       QtDBus-devel >= 4.4.0
38 Requires:       QtSql-devel >= 4.4.0
39 Obsoletes:      PackageKit-qt-devel < 0.8.4
40 Obsoletes:      PackageKit-qt-static < 0.8.4
41 Obsoletes:      PackageKit-qt2-static
42 Obsoletes:      qpackagekit-devel < 0.4.0
43
44 %description devel
45 Header files for packagekit-qt2 library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki packagekit-qt2.
49
50 %prep
51 %setup -q -n PackageKit-Qt-%{version}
52
53 %build
54 install -d build
55 cd build
56 %cmake ..
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS MAINTAINERS NEWS TODO
75 %attr(755,root,root) %{_libdir}/libpackagekit-qt2.so.*.*.*
76 %attr(755,root,root) %ghost %{_libdir}/libpackagekit-qt2.so.6
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libpackagekit-qt2.so
81 %{_pkgconfigdir}/packagekit-qt2.pc
82 %{_includedir}/PackageKit/packagekit-qt2
83 %dir %{_libdir}/cmake/packagekit-qt2
84 %{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config-version.cmake
85 %{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config.cmake
This page took 0.105094 seconds and 3 git commands to generate.