[521] | 1 | Name: polkit-qt |
---|
| 2 | Summary: Qt bindings for PolicyKit |
---|
| 3 | Summary(ja): PolicyKit の Qt バインディング |
---|
[2774] | 4 | Version: 0.99.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/ |
---|
[1594] | 10 | |
---|
[521] | 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/polkit-qt-1/polkit-qt-1-%{version}.tar.bz2 |
---|
[1594] | 12 | |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: automoc4 |
---|
| 15 | BuildRequires: cmake |
---|
[2774] | 16 | BuildRequires: glib2-devel |
---|
| 17 | BuildRequires: polkit-devel |
---|
[521] | 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} |
---|
[2774] | 27 | Summary(ja): %{name} の開発用ファイル |
---|
[521] | 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
[1594] | 30 | Requires: polkit-devel |
---|
[521] | 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 |
---|
[1594] | 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
[521] | 64 | |
---|
| 65 | %clean |
---|
[1594] | 66 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 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 |
---|
[2774] | 83 | %{_libdir}/cmake/* |
---|
[521] | 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 |
---|
[2774] | 94 | * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[1935] | 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 | |
---|
[1594] | 100 | * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.96.1-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[521] | 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 | |
---|