1 | Name: polkit-qt |
---|
2 | Summary: Qt bindings for PolicyKit |
---|
3 | Summary(ja): PolicyKit の Qt バインディング |
---|
4 | Version: 0.112.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/ |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/stable/polkit-qt-1/polkit-qt-1-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: automoc4 |
---|
15 | BuildRequires: cmake |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: polkit-devel |
---|
18 | BuildRequires: qt4-devel |
---|
19 | |
---|
20 | %description |
---|
21 | Polkit-qt is a library that lets developers use the PolicyKit API through a nice |
---|
22 | Qt-styled API. It is mainly a wrapper around QAction and QAbstractButton that |
---|
23 | lets you integrate those two component easily with PolicyKit. |
---|
24 | |
---|
25 | %package devel |
---|
26 | Summary: Development files for %{name} |
---|
27 | Summary(ja): %{name} の開発用ファイル |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | Requires: polkit-devel |
---|
31 | Requires: pkgconfig |
---|
32 | |
---|
33 | %description devel |
---|
34 | %{summary}. |
---|
35 | |
---|
36 | #package examples |
---|
37 | #Summary: Example files for %{name} |
---|
38 | #Group: Development/Libraries |
---|
39 | #Requires: %{name} = %{version}-%{release} |
---|
40 | |
---|
41 | #description examples |
---|
42 | #%{summary}. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q -n polkit-qt-1-%{version} |
---|
47 | |
---|
48 | %build |
---|
49 | %ifarch x86_64 |
---|
50 | PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`" |
---|
51 | %endif |
---|
52 | mkdir -p %{_target_platform} |
---|
53 | pushd %{_target_platform} |
---|
54 | %cmake \ |
---|
55 | -DCMAKE_BUILD_TYPE=release \ |
---|
56 | -DBUILD_EXAMPLES=0 .. |
---|
57 | popd |
---|
58 | |
---|
59 | make %{?_smp_mflags} -C %{_target_platform} |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc AUTHORS COPYING README |
---|
76 | %{_libdir}/libpolkit-qt*.so.* |
---|
77 | |
---|
78 | %files devel |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %{_includedir}/polkit-qt-1/ |
---|
81 | %{_libdir}/libpolkit-qt*.so |
---|
82 | %{_libdir}/pkgconfig/polkit-qt*.pc |
---|
83 | %{_libdir}/cmake/* |
---|
84 | |
---|
85 | #%files examples |
---|
86 | #%defattr(-,root,root,-) |
---|
87 | #%{_sysconfdir}/dbus-1/system.d/org.qt.policykit.examples.conf |
---|
88 | #%{_bindir}/polkit-example-helper |
---|
89 | #%{_datadir}/PolicyKit/policy/org.qt.policykit.examples.policy |
---|
90 | #%{_datadir}/dbus-1/system-services/org.qt.policykit.examples.service |
---|
91 | |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.112.0-2 |
---|
95 | - rebuild with gcc-5.4.0 |
---|
96 | |
---|
97 | * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.112.0-1 |
---|
98 | - update to 0.112.0 |
---|
99 | |
---|
100 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.103.0-1 |
---|
101 | - update to 0.103.0 |
---|
102 | |
---|
103 | * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.96.1-2 |
---|
107 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
108 | |
---|
109 | * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.95.1-2 |
---|
113 | - added qmake path to PATH (if x86_64) |
---|
114 | |
---|
115 | * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-1 |
---|
116 | - new upstream release |
---|
117 | - added BR: polkit-devel instead of PolicyKit-devel |
---|
118 | |
---|
119 | * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9.2-4 |
---|
120 | - use %%cmake macro |
---|
121 | |
---|
122 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.2-3 |
---|
123 | - Initial build for Vine Linux |
---|
124 | |
---|
125 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2 |
---|
126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
127 | |
---|
128 | * Wed Apr 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1 |
---|
129 | - polkit-0.9.2 |
---|
130 | |
---|