source: projects/specs/trunk/p/polkit-kde/polkit-kde-vl.spec @ 561

Revision 561, 2.5 KB checked in by inagaki, 14 years ago (diff)

2010-03-13 Ryoichi INAGAKI <ryo1@…>

NEW: p/polkit-kde/polkit-kde-vl.spec

Line 
1Name:           polkit-kde
2Version:        0.95.1
3Release:        5%{?_dist_release}
4Summary:        PolicyKit integration for KDE Desktop
5
6Group:          Applications/System
7License:        GPLv2+
8URL:            http://www.kde.org/
9
10Source0:        polkit-kde-1-0.95.1.tar.bz2
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13## upstreamable patches
14Patch50: polkit-kde-1-0.95.1-ImplicitDSOLinking.patch
15
16BuildRequires:  kdelibs4-devel
17BuildRequires:  polkit-qt-devel >= 0.95
18BuildRequires:  cmake
19BuildRequires:  gettext
20
21Provides: PolicyKit-authentication-agent
22Provides: polkit-kde-1 = %{version}-%{release}
23
24Obsoletes: PolicyKit-kde < 4.5
25
26%description
27Provides 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
36mkdir -p %{_target_platform}
37pushd %{_target_platform}
38unset 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    ..
48popd
49
50make %{?_smp_mflags}  -C %{_target_platform} VERBOSE=1
51
52
53%install
54rm -rf %{buildroot}
55make install DESTDIR=%{buildroot} -C %{_target_platform}
56
57desktop-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
64rm -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
Note: See TracBrowser for help on using the repository browser.