source: projects/specs/trunk/g/gksu-polkit/gksu-polkit-vl.spec @ 9095

Revision 9095, 4.1 KB checked in by inagaki, 9 years ago (diff)

2014-11-16 Ryoichi INAGAKI <ryo1@…>

  • gedit-code-assitance, gksu-polkit, webkit-sharp: modified Group


Line 
1%define         commit f8ce834c
2
3Name:           gksu-polkit
4Version:        0.0.3
5Release:        2%{?_dist_release}
6Summary:        Command line utility to run programs as root
7Summary(ja):    プログラムをrootで実行するためのコマンドラインツール
8
9License:        LGPLv3+
10Group:          Applications/System
11URL:            http://live.gnome.org/gksu
12
13# There is no other download source
14Source0:        %{name}-%{version}-git%{commit}.tar.bz2
15Source99:       %{name}-git-checkout.sh
16Patch0:         %{name}-dbus.patch
17Patch1:         %{name}-%{version}-policy.patch
18Patch2:         %{name}-%{version}-format-security.patch
19
20BuildRequires:  autoconf
21BuildRequires:  automake
22BuildRequires:  doxygen
23BuildRequires:  dbus-glib-devel
24BuildRequires:  gtk-doc
25BuildRequires:  gtk2-devel
26BuildRequires:  intltool
27BuildRequires:  libgee06-devel
28BuildRequires:  libgee06-vala
29BuildRequires:  libtool
30BuildRequires:  polkit-devel
31BuildRequires:  startup-notification-devel
32BuildRequires:  vala
33
34Requires:       %{name}-libs = %{version}-%{release}
35
36%description
37This is a library and application used to ask the user for passwords to run
38programs as root.
39
40%package libs
41Summary:        Libraries for %{name}
42Summary(ja):    %{name} 用のライブラリ
43Group:          System Environment/Libraries
44
45%description libs
46Libraries for software which uses %{name}.
47
48%package libs-devel
49Summary:        Development libraries and headers for %{name}
50Summary(ja):    %{name} 用の開発ライブラリおよびヘッダファイル
51Group:          Development/Libraries
52Requires:       %{name}-libs = %{version}-%{release}
53
54%description libs-devel
55Development 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
64autoreconf -v -f --install
65%configure
66make
67
68%install
69rm -rf $RPM_BUILD_ROOT
70make install DESTDIR=%{buildroot}
71find %{buildroot} -name '*.la' -delete
72find %{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
80rm -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
Note: See TracBrowser for help on using the repository browser.