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

Revision 9105, 2.8 KB checked in by inagaki, 9 years ago (diff)

2014-11-20 Ryoichi INAGAKI <ryo1@…>

  • PyOpenGL, polkit-qt: updated
  • lxrandr, polkit-gnome, polkit-kde: changed Group


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