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

Revision 12299, 4.4 KB checked in by tomop, 5 years ago (diff)

updated 15 packages

ant-1.9.14-1

ccid-1.4.31-1

extra-cmake-modules-5.63.0-1

file-5.37-2

iputils-20190709-1

libarchive-3.4.0-1

libidn2-2.2.0-1

libmodsecurity-3.0.3-4

libxslt-1.1.33-2

ncurses-6.1-3

pcsc-lite-1.8.25-1

polkit-qt-0.112.0-3

qca2-2.2.1-1

rdesktop-1.9.0-1

util-linux-2.34-1

Line 
1Name:           polkit-qt
2Summary:        Qt bindings for PolicyKit
3Summary(ja):    PolicyKit の Qt バインディング
4Version:        0.112.0
5Release:        3%{?_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
19BuildRequires:  qt5-qtbase-devel
20
21%description
22Polkit-qt is a library that lets developers use the PolicyKit API through a nice
23Qt-styled API. It is mainly a wrapper around QAction and QAbstractButton that
24lets you integrate those two component easily with PolicyKit.
25
26%package devel
27Summary: Development files for %{name}
28Summary(ja): %{name} の開発用ファイル
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: polkit-devel
32Requires: pkgconfig
33
34%description devel
35%{summary}.
36
37
38%package -n polkit-qt5
39Summary:        Qt5 bindings for PolicyKit
40Summary(ja):    PolicyKit の Qt5 バインディング
41Group: System Environment/Libraries
42
43%description -n polkit-qt5
44%{summary}.
45
46
47%package -n polkit-qt5-devel
48Summary: Development files for polkit-qt5
49Summary(ja): polkit-qt5 の開発用ファイル
50Group: Development/Libraries
51Requires: polkit-qt5 = %{version}-%{release}
52Requires: polkit-devel
53Requires: pkgconfig
54
55%description -n polkit-qt5-devel
56%{summary}.
57
58
59#package examples
60#Summary: Example files for %{name}
61#Group: Development/Libraries
62#Requires: %{name} = %{version}-%{release}
63
64#description examples
65#%{summary}.
66
67
68%prep
69%setup -q -n polkit-qt-1-%{version}
70
71%build
72%ifarch x86_64
73PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
74%endif
75mkdir -p build_qt4
76pushd build_qt4
77%cmake \
78    -DUSE_QT4=ON \
79    -DCMAKE_BUILD_TYPE=release \
80    -DBUILD_EXAMPLES=0 ..
81
82make %{?_smp_mflags}
83popd
84
85mkdir -p build_qt5
86pushd build_qt5
87%cmake \
88    -DUSE_QT5=ON \
89    -DCMAKE_BUILD_TYPE=release \
90    -DBUILD_EXAMPLES=0 ..
91
92make %{?_smp_mflags}
93popd
94
95
96%install
97rm -rf $RPM_BUILD_ROOT
98make install/fast DESTDIR=$RPM_BUILD_ROOT -C build_qt4
99make install/fast DESTDIR=$RPM_BUILD_ROOT -C build_qt5
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105
106%postun -p /sbin/ldconfig
107
108
109%files
110%defattr(-,root,root,-)
111%license COPYING
112%doc AUTHORS README
113%{_libdir}/libpolkit-qt-*.so.*
114
115%files -n polkit-qt5
116%defattr(-,root,root,-)
117%license COPYING
118%doc AUTHORS README
119%{_libdir}/libpolkit-qt5-*.so.*
120
121%files devel
122%defattr(-,root,root,-)
123%{_includedir}/polkit-qt-1/
124%{_libdir}/libpolkit-qt-*.so
125%{_libdir}/pkgconfig/polkit-qt-*.pc
126%{_libdir}/cmake/PolkitQt-1
127
128%files -n polkit-qt5-devel
129%defattr(-,root,root,-)
130%{_includedir}/polkit-qt5-1/
131%{_libdir}/libpolkit-qt5-*.so
132%{_libdir}/pkgconfig/polkit-qt5-*.pc
133%{_libdir}/cmake/PolkitQt5-1
134
135#%files examples
136#%defattr(-,root,root,-)
137#%{_sysconfdir}/dbus-1/system.d/org.qt.policykit.examples.conf
138#%{_bindir}/polkit-example-helper
139#%{_datadir}/PolicyKit/policy/org.qt.policykit.examples.policy
140#%{_datadir}/dbus-1/system-services/org.qt.policykit.examples.service
141
142
143%changelog
144* Sun Oct 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.112-0-3
145- enabled Qt5.
146
147* Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.112.0-2
148- rebuild with gcc-5.4.0
149
150* Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.112.0-1
151- update to 0.112.0
152
153* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.103.0-1
154- update to 0.103.0
155
156* Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
157- new upstream release
158
159* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.96.1-2
160- rebuilt with rpm-4.8.1 for pkg-config
161
162* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1
163- new upstream release
164
165* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.95.1-2
166- added qmake path to PATH (if x86_64)
167
168* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-1
169- new upstream release
170- added BR: polkit-devel instead of PolicyKit-devel
171
172* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9.2-4
173- use %%cmake macro
174
175* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.2-3
176- Initial build for Vine Linux
177
178* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
179- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
180
181* Wed Apr 22 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
182- polkit-0.9.2
183
Note: See TracBrowser for help on using the repository browser.