[9095] | 1 | %define commit f8ce834c |
---|
| 2 | |
---|
| 3 | Name: gksu-polkit |
---|
| 4 | Version: 0.0.3 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | Summary: Command line utility to run programs as root |
---|
| 7 | Summary(ja): プログラムをrootで実行するためのコマンドラインツール |
---|
| 8 | |
---|
| 9 | License: LGPLv3+ |
---|
| 10 | Group: Applications/System |
---|
| 11 | URL: http://live.gnome.org/gksu |
---|
| 12 | |
---|
| 13 | # There is no other download source |
---|
| 14 | Source0: %{name}-%{version}-git%{commit}.tar.bz2 |
---|
| 15 | Source99: %{name}-git-checkout.sh |
---|
| 16 | Patch0: %{name}-dbus.patch |
---|
| 17 | Patch1: %{name}-%{version}-policy.patch |
---|
| 18 | Patch2: %{name}-%{version}-format-security.patch |
---|
| 19 | |
---|
| 20 | BuildRequires: autoconf |
---|
| 21 | BuildRequires: automake |
---|
| 22 | BuildRequires: doxygen |
---|
| 23 | BuildRequires: dbus-glib-devel |
---|
| 24 | BuildRequires: gtk-doc |
---|
| 25 | BuildRequires: gtk2-devel |
---|
| 26 | BuildRequires: intltool |
---|
| 27 | BuildRequires: libgee06-devel |
---|
| 28 | BuildRequires: libgee06-vala |
---|
| 29 | BuildRequires: libtool |
---|
| 30 | BuildRequires: polkit-devel |
---|
| 31 | BuildRequires: startup-notification-devel |
---|
| 32 | BuildRequires: vala |
---|
| 33 | |
---|
| 34 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | This is a library and application used to ask the user for passwords to run |
---|
| 38 | programs as root. |
---|
| 39 | |
---|
| 40 | %package libs |
---|
| 41 | Summary: Libraries for %{name} |
---|
| 42 | Summary(ja): %{name} 用のライブラリ |
---|
| 43 | Group: System Environment/Libraries |
---|
| 44 | |
---|
| 45 | %description libs |
---|
| 46 | Libraries for software which uses %{name}. |
---|
| 47 | |
---|
| 48 | %package libs-devel |
---|
| 49 | Summary: Development libraries and headers for %{name} |
---|
| 50 | Summary(ja): %{name} 用の開発ライブラリおよびヘッダファイル |
---|
| 51 | Group: Development/Libraries |
---|
| 52 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 53 | |
---|
| 54 | %description libs-devel |
---|
| 55 | Development libraries and headers for %{name}-libs. |
---|
| 56 | |
---|
| 57 | %prep |
---|
| 58 | %setup -q -n %{name} |
---|
| 59 | %patch0 -p0 |
---|
| 60 | %patch1 -p1 |
---|
| 61 | %patch2 -p1 |
---|
| 62 | |
---|
| 63 | %build |
---|
| 64 | autoreconf -v -f --install |
---|
| 65 | %configure |
---|
| 66 | make |
---|
| 67 | |
---|
| 68 | %install |
---|
| 69 | rm -rf $RPM_BUILD_ROOT |
---|
| 70 | make install DESTDIR=%{buildroot} |
---|
| 71 | find %{buildroot} -name '*.la' -delete |
---|
| 72 | find %{buildroot} -name '*.a' -delete |
---|
| 73 | |
---|
| 74 | # Currently no translations available, although we have a po folder |
---|
| 75 | |
---|
| 76 | %post libs -p /sbin/ldconfig |
---|
| 77 | %postun libs -p /sbin/ldconfig |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | %files |
---|
| 83 | %{_bindir}/%{name} |
---|
| 84 | %{_datadir}/dbus-1/system-services/org.gnome.Gksu.service |
---|
| 85 | %{_datadir}/%{name}-1/environment/common.variables |
---|
| 86 | %{_datadir}/polkit-1/actions/org.gnome.gksu.policy |
---|
| 87 | %{_sbindir}/gksu-server |
---|
| 88 | %config(noreplace) %{_sysconfdir}/dbus-1/system.d/%{name}.conf |
---|
| 89 | |
---|
| 90 | %files libs |
---|
| 91 | %doc COPYING README THANKS TODO |
---|
| 92 | %{_libdir}/lib%{name}.so.* |
---|
| 93 | |
---|
| 94 | %files libs-devel |
---|
| 95 | %{_includedir}/%{name}/ |
---|
| 96 | %{_libdir}/lib%{name}.so |
---|
| 97 | %{_libdir}/pkgconfig/lib%{name}-1.pc |
---|
| 98 | |
---|
| 99 | %changelog |
---|
| 100 | * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.3-2 |
---|
| 101 | - added Group tag and %%clean section to spec |
---|
| 102 | |
---|
| 103 | * Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.3-1 |
---|
| 104 | - initial build for Vine Linux |
---|
| 105 | |
---|
| 106 | * Wed Jun 11 2014 Simone Caronni <negativo17@gmail.com> - 0.0.3-10.gitf8ce834c |
---|
| 107 | - Add patch for format-security. |
---|
| 108 | |
---|
| 109 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-9.gitf8ce834c |
---|
| 110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 111 | |
---|
| 112 | * Sun Jul 21 2013 Simone Caronni <negativo17@gmail.com> - 0.0.3-8.gitf8ce834c |
---|
| 113 | - Update to git snapshot, add script to recreate tarball. |
---|
| 114 | - Fix Patch1, was creating a patch file and not patching files. |
---|
| 115 | - Add fix to service file from Jan Pokorný (#975541). |
---|
| 116 | |
---|
| 117 | * Tue Jun 11 2013 Simone Caronni <negativo17@gmail.com> - 0.0.3-7 |
---|
| 118 | - Fix systemd service file (#948613). |
---|
| 119 | - SPEC file formatting. |
---|
| 120 | |
---|
| 121 | * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Sat Sep 15 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-4 |
---|
| 125 | - Added full systemd support via dbus |
---|
| 126 | |
---|
| 127 | * Fri Aug 10 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-3 |
---|
| 128 | - Removed find_lang macro, should be readded once there are real po files |
---|
| 129 | |
---|
| 130 | * Thu Aug 09 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-2 |
---|
| 131 | - Changed the libs requirement for the base package |
---|
| 132 | - The ldconfig commands point now to the libs instead of the main package |
---|
| 133 | - Disable rpath |
---|
| 134 | |
---|
| 135 | * Sun Jul 29 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-1 |
---|
| 136 | - Initial version |
---|