]>
Commit | Line | Data |
---|---|---|
5fafdc3f | 1 | Summary: GNOME System Tools backends |
8d590514 | 2 | Summary(pl.UTF-8): Backendy GNOME System Tools (narzędzi systemowych GNOME) |
5fafdc3f | 3 | Name: system-tools-backends |
2ea5c2b3 | 4 | Version: 2.10.2 |
2a4416c6 | 5 | Release: 4 |
2d763eee | 6 | License: LGPL v2+ |
5fafdc3f | 7 | Group: Applications/System |
1266b178 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/2.10/%{name}-%{version}.tar.bz2 |
2ea5c2b3 | 9 | # Source0-md5: edae148b31342aecae035051adc70c74 |
b782f382 | 10 | Patch0: %{name}-logindefs.patch |
89a37d91 | 11 | Patch1: %{name}-incompatible-gpasswd.patch |
5fafdc3f | 12 | URL: http://www.gnome.org/projects/gst/ |
13 | BuildRequires: autoconf >= 2.52 | |
14 | BuildRequires: automake | |
17fbee32 | 15 | BuildRequires: dbus-devel >= 1.1.2 |
b782f382 | 16 | BuildRequires: dbus-glib-devel >= 0.74 |
ed13c2fd | 17 | BuildRequires: gettext-tools |
17fbee32 PZ |
18 | BuildRequires: glib2-devel >= 1:2.16.0 |
19 | BuildRequires: gnome-common >= 2.20.0 | |
2d763eee | 20 | BuildRequires: intltool >= 0.40.0 |
b782f382 | 21 | BuildRequires: libtool |
2d763eee JB |
22 | BuildRequires: perl-base |
23 | # to avoid building internal Net::DBus module | |
9c593d95 | 24 | BuildRequires: perl-Net-DBus >= 0.33.5 |
17fbee32 | 25 | BuildRequires: pkgconfig |
2d763eee | 26 | BuildRequires: polkit-devel >= 0.94 |
b782f382 MB |
27 | BuildRequires: rpmbuild(macros) >= 1.268 |
28 | Requires(post,preun): /sbin/chkconfig | |
17fbee32 | 29 | Requires: dbus >= 1.1.2 |
2d763eee JB |
30 | Requires: dbus-glib >= 0.74 |
31 | Requires: glib2 >= 1:2.16.0 | |
9c593d95 | 32 | Requires: perl-Net-DBus >= 0.33.5 |
2d763eee | 33 | Requires: polkit >= 0.94 |
b782f382 | 34 | Requires: rc-scripts |
64687a3f | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5fafdc3f | 36 | |
37 | %description | |
38 | Backends for GNOME System Tools. | |
39 | ||
e6b9825c JR |
40 | %description -l pl.UTF-8 |
41 | Backendy dla GNOME System Tools (narzędzi systemowych GNOME). | |
4a73d0a2 | 42 | |
2d763eee JB |
43 | %package devel |
44 | Summary: Development files for GNOME System Tools backends | |
45 | Summary(pl.UTF-8): Pliki programistyczne dla backendów narzędzi systemowych GNOME | |
46 | Group: Development/Libraries | |
47 | # doesn't require base; the only file is pkg-config specific, so let's require it | |
48 | Requires: pkgconfig | |
49 | ||
50 | %description devel | |
51 | This package contains files needed for GNOME System Tools backends | |
52 | related development. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Ten pakiet zawiera pliki potrzebne przy programowaniu związanym z | |
56 | backendami GNOME System Tools (narzędzi systemowych GNOME). | |
57 | ||
5fafdc3f | 58 | %prep |
59 | %setup -q | |
b782f382 | 60 | %patch0 -p1 |
89a37d91 | 61 | %patch1 -p1 |
5fafdc3f | 62 | |
63 | %build | |
b782f382 | 64 | %{__libtoolize} |
5fafdc3f | 65 | %{__aclocal} |
66 | %{__autoconf} | |
17fbee32 | 67 | %{__autoheader} |
5fafdc3f | 68 | %{__automake} |
12988bdb | 69 | %configure \ |
70 | --with-stb-group=adm | |
5fafdc3f | 71 | %{__make} |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
ef4bb5b6 | 79 | %find_lang %{name} |
b782f382 | 80 | |
5fafdc3f | 81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
ef4bb5b6 PZ |
84 | %triggerun -- system-tools-backends < 2.8.0 |
85 | %service system-tools-backends stop | |
86 | /sbin/chkconfig --del system-tools-backends | |
b782f382 | 87 | |
ef4bb5b6 | 88 | %files -f %{name}.lang |
5fafdc3f | 89 | %defattr(644,root,root,755) |
90 | %doc AUTHORS ChangeLog NEWS README | |
ef4bb5b6 PZ |
91 | %attr(755,root,root) %{_sbindir}/system-tools-backends |
92 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf | |
2d763eee JB |
93 | %{_datadir}/dbus-1/system-services/org.freedesktop.SystemToolsBackends.service |
94 | %{_datadir}/dbus-1/system-services/org.freedesktop.SystemToolsBackends.*.service | |
ef4bb5b6 | 95 | %{_datadir}/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy |
1b12c8ec | 96 | %dir %{_datadir}/%{name}-2.0 |
97 | %dir %{_datadir}/%{name}-2.0/files | |
138a21c0 ER |
98 | %{_datadir}/%{name}-2.0/files/general_gprs_chatscript |
99 | %{_datadir}/%{name}-2.0/files/general_isdn_ppp_options | |
100 | %{_datadir}/%{name}-2.0/files/general_pppoe_ppp_options | |
1b12c8ec | 101 | %dir %{_datadir}/%{name}-2.0/scripts |
17fbee32 | 102 | %attr(755,root,root) %{_datadir}/%{name}-2.0/scripts/SystemToolsBackends.pl |
1b12c8ec | 103 | %{_datadir}/%{name}-2.0/scripts/*.pm |
104 | %{_datadir}/%{name}-2.0/scripts/Init | |
105 | %{_datadir}/%{name}-2.0/scripts/Network | |
106 | %{_datadir}/%{name}-2.0/scripts/Shares | |
107 | %{_datadir}/%{name}-2.0/scripts/Time | |
108 | %{_datadir}/%{name}-2.0/scripts/Users | |
109 | %{_datadir}/%{name}-2.0/scripts/Utils | |
2d763eee JB |
110 | |
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
17fbee32 | 113 | %{_pkgconfigdir}/system-tools-backends-2.0.pc |