]>
Commit | Line | Data |
---|---|---|
c90ad66d JP |
1 | # |
2 | Summary: Application to get and manage software | |
3 | Name: apper | |
4 | Version: 0.7.0 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://dl.dropbox.com/u/37314029/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 712b52dd9bd9eda7368d0820404d50f8 | |
10 | Patch0: %{name}-crash_fix.patch | |
11 | URL: http://dantti.wordpress.com/ | |
12 | BuildRequires: PackageKit-qt2-devel >= 0.6.17 | |
13 | BuildRequires: automoc4 >= 0.9.88 | |
14 | BuildRequires: cmake >= 2.8.0 | |
15 | BuildRequires: kde4-kdelibs-devel | |
16 | BuildRequires: qt4-build | |
17 | BuildRequires: qt4-qmake | |
18 | BuildRequires: rpmbuild(macros) >= 1.600 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Application to get and manage software. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | %patch0 -p1 | |
27 | ||
28 | %build | |
29 | install -d build | |
30 | cd build | |
31 | %cmake \ | |
32 | ../ | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | %{__make} -C build install/fast \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %find_lang %{name} | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files -f %{name}.lang | |
46 | %defattr(644,root,root,755) | |
47 | %attr(755,root,root) %{_bindir}/apper | |
48 | %dir %{_libdir}/apper | |
49 | %attr(755,root,root) %{_libdir}/apper/libapper.so | |
50 | %attr(755,root,root) %{_libdir}/kde4/kcm_apper.so | |
51 | %attr(755,root,root) %{_libdir}/kde4/kded_apperd.so | |
52 | %attr(755,root,root) %{_libdir}/kde4/libexec/apper-sentinel | |
53 | %{_desktopdir}/kde4/apper.desktop | |
54 | %{_datadir}/apps/apper | |
55 | %dir %{_datadir}/apps/ApperSentinel | |
56 | %{_datadir}/apps/ApperSentinel/ApperSentinel.notifyrc | |
57 | %{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service | |
58 | %{_datadir}/dbus-1/services/org.kde.ApperSentinel.service | |
59 | %{_datadir}/kde4/services/kded/apperd.desktop | |
60 | %{_datadir}/kde4/services/kcm_apper.desktop |