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

Revision 9105, 3.2 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-qt
2Summary:        Qt bindings for PolicyKit
3Summary(ja):    PolicyKit の Qt バインディング
4Version:        0.112.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* Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.112.0-1
95- update to 0.112.0
96
97* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.103.0-1
98- update to 0.103.0
99
100* Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
101- new upstream release
102
103* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.96.1-2
104- rebuilt with rpm-4.8.1 for pkg-config
105
106* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1
107- new upstream release
108
109* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.95.1-2
110- added qmake path to PATH (if x86_64)
111
112* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-1
113- new upstream release
114- added BR: polkit-devel instead of PolicyKit-devel
115
116* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9.2-4
117- use %%cmake macro
118
119* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.2-3
120- Initial build for Vine Linux
121
122* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
123- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
124
125* Wed Apr 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
126- polkit-0.9.2
127
Note: See TracBrowser for help on using the repository browser.