source: projects/specs/branches/6/p/polkit-qt/polkit-qt-vl.spec @ 2774

Revision 2774, 3.1 KB checked in by inagaki, 13 years ago (diff)

update: KDE 4.6.0
NEW: nepomukcontroller, openal-soft

Line 
1Name:           polkit-qt
2Summary:        Qt bindings for PolicyKit
3Summary(ja):    PolicyKit の Qt バインディング
4Version:        0.99.0
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:  glib2-devel
17BuildRequires:  polkit-devel
18BuildRequires:  qt4-devel
19
20%description
21Polkit-qt is a library that lets developers use the PolicyKit API through a nice
22Qt-styled API. It is mainly a wrapper around QAction and QAbstractButton that
23lets you integrate those two component easily with PolicyKit.
24
25%package devel
26Summary: Development files for %{name}
27Summary(ja): %{name} の開発用ファイル
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30Requires: polkit-devel
31Requires: 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
50PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
51%endif
52mkdir -p %{_target_platform}
53pushd %{_target_platform}
54%cmake \
55    -DCMAKE_BUILD_TYPE=release \
56    -DBUILD_EXAMPLES=0 ..
57popd
58
59make %{?_smp_mflags} -C %{_target_platform}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
64
65%clean
66rm -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 Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
95- new upstream release
96
97* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.96.1-2
98- rebuilt with rpm-4.8.1 for pkg-config
99
100* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1
101- new upstream release
102
103* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.95.1-2
104- added qmake path to PATH (if x86_64)
105
106* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-1
107- new upstream release
108- added BR: polkit-devel instead of PolicyKit-devel
109
110* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9.2-4
111- use %%cmake macro
112
113* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.2-3
114- Initial build for Vine Linux
115
116* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
117- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
118
119* Wed Apr 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
120- polkit-0.9.2
121
Note: See TracBrowser for help on using the repository browser.