1 | Name: polkit-kde |
---|
2 | Version: 0.95.1 |
---|
3 | Release: 5%{?_dist_release} |
---|
4 | Summary: PolicyKit integration for KDE Desktop |
---|
5 | |
---|
6 | Group: Applications/System |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://www.kde.org/ |
---|
9 | |
---|
10 | Source0: polkit-kde-1-0.95.1.tar.bz2 |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | ## upstreamable patches |
---|
14 | Patch50: polkit-kde-1-0.95.1-ImplicitDSOLinking.patch |
---|
15 | |
---|
16 | BuildRequires: kdelibs4-devel |
---|
17 | BuildRequires: polkit-qt-devel >= 0.95 |
---|
18 | BuildRequires: cmake |
---|
19 | BuildRequires: gettext |
---|
20 | |
---|
21 | Provides: PolicyKit-authentication-agent |
---|
22 | Provides: polkit-kde-1 = %{version}-%{release} |
---|
23 | |
---|
24 | Obsoletes: PolicyKit-kde < 4.5 |
---|
25 | |
---|
26 | %description |
---|
27 | Provides Policy Kit Authentication Agent that nicely fits to KDE. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n polkit-kde-1-%{version} |
---|
31 | |
---|
32 | %patch50 -p1 -b .ImplicitDSOLinking |
---|
33 | |
---|
34 | |
---|
35 | %build |
---|
36 | mkdir -p %{_target_platform} |
---|
37 | pushd %{_target_platform} |
---|
38 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
39 | %cmake \ |
---|
40 | -DCMAKE_BUILD_TYPE=release \ |
---|
41 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
42 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
43 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
44 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
45 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
46 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
47 | .. |
---|
48 | popd |
---|
49 | |
---|
50 | make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1 |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf %{buildroot} |
---|
55 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
56 | |
---|
57 | desktop-file-install --delete-original \ |
---|
58 | --dir %{buildroot}%{_sysconfdir}/xdg/autostart \ |
---|
59 | %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop |
---|
60 | |
---|
61 | %find_lang polkit-kde-authentication-agent-1 |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf %{buildroot} |
---|
65 | |
---|
66 | |
---|
67 | %files -f polkit-kde-authentication-agent-1.lang |
---|
68 | %defattr(-,root,root,-) |
---|
69 | %doc COPYING |
---|
70 | %{_libexecdir}/kde4/polkit-kde-authentication-agent-1 |
---|
71 | %{_sysconfdir}/xdg/autostart/* |
---|
72 | |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Sun Feb 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-5 |
---|
76 | - initial build for Vine Linux |
---|
77 | |
---|
78 | * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4 |
---|
79 | - FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809) |
---|
80 | |
---|
81 | * Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3 |
---|
82 | - Again provides PolicyKit-authentication-agent |
---|
83 | |
---|
84 | * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2 |
---|
85 | - Added Gettext BR |
---|
86 | |
---|
87 | * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1 |
---|
88 | - Update to official release |
---|
89 | - Provides polkit-kde-1 |
---|
90 | |
---|
91 | * Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn |
---|
92 | - Adds desktop file |
---|
93 | - Adds obsoletes |
---|
94 | |
---|
95 | * Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn |
---|
96 | - Initial package |
---|