source: projects/specs/trunk/p/polkit-qt/polkit-qt-vl.spec @ 1594

Revision 1594, 2.8 KB checked in by inagaki, 14 years ago (diff)

update: akonadi, gpgme, polkit-qt, shared-desktop-ontologies, soprano
NEW: cagibi, dbusmenu-qt, qjson

Line 
1Name:           polkit-qt
2Summary:        Qt bindings for PolicyKit
3Summary(ja):    PolicyKit の Qt バインディング
4Version:        0.96.1
5Release:        1%{?_dist_release}
6
7Group:          System Environment/Libraries
8License:        GPLv2+
9URL:            http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/
10
11Source0:        ftp://ftp.kde.org/pub/kde/stable/polkit-qt-1/polkit-qt-1-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  automoc4
15BuildRequires:  cmake
16BuildRequires:  qt4-devel
17BuildRequires:  polkit-devel
18
19%description
20Polkit-qt is a library that lets developers use the PolicyKit API through a nice
21Qt-styled API. It is mainly a wrapper around QAction and QAbstractButton that
22lets you integrate those two component easily with PolicyKit.
23
24%package devel
25Summary: Development files for %{name}
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: polkit-devel
29Requires: pkgconfig
30
31%description devel
32%{summary}.
33
34#package examples
35#Summary: Example files for %{name}
36#Group: Development/Libraries
37#Requires: %{name} = %{version}-%{release}
38
39#description examples
40#%{summary}.
41
42
43%prep
44%setup -q -n polkit-qt-1-%{version}
45
46%build
47%ifarch x86_64
48PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
49%endif
50mkdir -p %{_target_platform}
51pushd %{_target_platform}
52%cmake \
53    -DCMAKE_BUILD_TYPE=release \
54    -DBUILD_EXAMPLES=0 ..
55popd
56
57make %{?_smp_mflags} -C %{_target_platform}
58
59
60%install
61rm -rf $RPM_BUILD_ROOT
62make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
63
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68
69%post -p /sbin/ldconfig
70
71%postun -p /sbin/ldconfig
72
73
74%files
75%defattr(-,root,root,-)
76%doc AUTHORS COPYING README
77%{_libdir}/libpolkit-qt*.so.*
78
79%files devel
80%defattr(-,root,root,-)
81%{_includedir}/polkit-qt-1/
82%{_libdir}/libpolkit-qt*.so
83%{_libdir}/pkgconfig/polkit-qt*.pc
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* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1
95- new upstream release
96
97* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.95.1-2
98- added qmake path to PATH (if x86_64)
99
100* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-1
101- new upstream release
102- added BR: polkit-devel instead of PolicyKit-devel
103
104* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9.2-4
105- use %%cmake macro
106
107* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.2-3
108- Initial build for Vine Linux
109
110* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
111- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
112
113* Wed Apr 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
114- polkit-0.9.2
115
Note: See TracBrowser for help on using the repository browser.