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

Revision 10769, 2.9 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:           polkit-kde
2Summary:        PolicyKit integration for KDE Desktop
3Summary(ja):    PolicyKit の KDE デスクトップ統合
4Version:        0.99.0
5Release:        3%{?_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* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.99.0-3
71- rebuild with gcc-5.4.0
72
73* Sun Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.99.0-2
74- rebuilt on current VineSeed
75
76* Sun Feb  6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
77- new upstream release
78
79* Sun Feb 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-5
80- initial build for Vine Linux
81
82* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
83- FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
84
85* Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
86- Again provides PolicyKit-authentication-agent
87
88* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
89- Added Gettext BR
90
91* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
92- Update to official release
93- Provides polkit-kde-1
94
95* Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
96- Adds desktop file
97- Adds obsoletes
98
99* Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
100- Initial package
Note: See TracBrowser for help on using the repository browser.