]>
Commit | Line | Data |
---|---|---|
e85806ae | 1 | Summary: GNOME System Tools |
a6ea11e5 | 2 | Summary(pl.UTF-8): GNOME System Tools - narzędzia systemowe GNOME |
e85806ae | 3 | Name: gnome-system-tools |
be4b5fe7 | 4 | Version: 3.0.0 |
a19327b6 | 5 | Release: 2 |
be4b5fe7 | 6 | License: GPL v2+ |
e47c355e | 7 | Group: X11/Applications |
1072d947 | 8 | Source0: https://download.gnome.org/sources/gnome-system-tools/3.0/%{name}-%{version}.tar.bz2 |
be4b5fe7 | 9 | # Source0-md5: 5dc48086cec964d146c9c446a54a8d39 |
e1a53433 | 10 | Patch0: %{name}-desktop.patch |
4e84e4d3 | 11 | Patch1: %{name}-link.patch |
1072d947 | 12 | URL: https://gitlab.gnome.org/Archive/gnome-system-tools |
8a62eebd AF |
13 | BuildRequires: autoconf >= 2.59-9 |
14 | BuildRequires: automake >= 1:1.9 | |
b5984320 | 15 | BuildRequires: dbus-devel >= 1.1.2 |
22cbb48f | 16 | BuildRequires: docbook-dtd412-xml |
04ae3926 | 17 | BuildRequires: gettext-tools |
b5984320 | 18 | BuildRequires: glib2-devel >= 1:2.16.0 |
b5984320 | 19 | BuildRequires: gnome-doc-utils >= 0.12.0 |
be4b5fe7 | 20 | BuildRequires: gtk+3-devel >= 3.0.0 |
7b989423 | 21 | BuildRequires: intltool |
c39a7ea7 | 22 | BuildRequires: libiw-devel |
be4b5fe7 | 23 | BuildRequires: liboobs-devel >= 3.0.0 |
7b989423 | 24 | BuildRequires: libxml2-progs |
be4b5fe7 | 25 | BuildRequires: nautilus-devel >= 3.0.0 |
2bb031a4 | 26 | BuildRequires: pkgconfig |
8ed61fd3 | 27 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
c39a7ea7 | 28 | BuildRequires: rpmbuild(macros) >= 1.311 |
a19327b6 | 29 | BuildRequires: system-tools-backends-devel >= 2.10.0 |
1aff82ac | 30 | Requires(post,postun): gtk-update-icon-cache |
c39a7ea7 | 31 | Requires(post,postun): hicolor-icon-theme |
7da7f727 | 32 | Requires(post,postun): scrollkeeper |
c39a7ea7 | 33 | Requires(post,preun): GConf2 |
f556dbdb | 34 | Requires: /etc/pld-release |
be4b5fe7 | 35 | Requires: gtk+3 >= 3.0.0 |
d000e332 | 36 | Requires: liboobs >= 2.30.0 |
be4b5fe7 | 37 | Requires: nautilus-libs >= 3.0.0 |
c1c3be14 | 38 | Requires: polkit-gnome >= 0.94 |
ad395079 | 39 | Requires: setup >= 2.6.1-1 |
f556dbdb | 40 | Requires: shadow-extras |
d000e332 | 41 | Requires: system-tools-backends >= 2.10.0 |
e85806ae | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d508e96d | 43 | |
e85806ae | 44 | %description |
45 | The GST are a fully integrated set of tools aimed to make easy the job | |
46 | that means the computer administration on an UNIX or Linux system. | |
47 | They're thought to help from the new Linux or UNIX user to the system | |
48 | administrators. The GNOME System Tools are free software, licensed | |
49 | under the terms of the GNU General Public License. | |
50 | ||
8501bc88 JR |
51 | %description -l pl.UTF-8 |
52 | GST (GNOME System Tools) to w pełni zintegrowany zestaw narzędzi, | |
53 | których celem jest ułatwienie prac administracyjnych pod systemem | |
54 | uniksowym lub linuksowym. Są pomyślane tak, aby pomóc nowym | |
55 | użytkownikom Linuksa lub Uniksa w administrowaniu systemem. GNOME | |
56 | System Tools to wolnodostępne oprogramowanie, licencjonowane na | |
d508e96d JB |
57 | warunkach Powszechnej Licencji Publicznej GNU. |
58 | ||
e85806ae | 59 | %prep |
60 | %setup -q | |
e1a53433 | 61 | %patch0 -p1 |
4e84e4d3 | 62 | %patch1 -p1 |
e85806ae | 63 | |
64 | %build | |
1072d947 | 65 | install -d m4 |
8a62eebd AF |
66 | %{__glib_gettextize} |
67 | %{__intltoolize} | |
68 | %{__libtoolize} | |
69 | %{__aclocal} | |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %{__autoconf} | |
e85806ae | 73 | %configure \ |
c39a7ea7 | 74 | --disable-scrollkeeper \ |
e85806ae | 75 | --disable-schemas-install \ |
d000e332 | 76 | --disable-silent-rules \ |
a63aa918 | 77 | --disable-static \ |
c1c3be14 | 78 | --enable-nautilus \ |
a63aa918 | 79 | --enable-network \ |
d000e332 | 80 | --enable-polkit-gtk \ |
a63aa918 | 81 | --enable-services \ |
c1c3be14 | 82 | --enable-shares \ |
a63aa918 | 83 | --enable-time \ |
c1c3be14 | 84 | --enable-users |
e85806ae | 85 | %{__make} |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
2d699fa6 | 90 | %{__make} install \ |
71ce446f | 91 | DESTDIR=$RPM_BUILD_ROOT |
ed322bc6 | 92 | |
be4b5fe7 | 93 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libnautilus-gst-shares.la |
a73a36aa | 94 | |
2c17f310 | 95 | %find_lang %{name} --with-gnome --with-omf --all-name |
e85806ae | 96 | |
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %post | |
8a62eebd | 101 | %glib_compile_schemas |
7da7f727 | 102 | %scrollkeeper_update_post |
c39a7ea7 | 103 | %update_icon_cache hicolor |
e85806ae | 104 | |
7da7f727 | 105 | %postun |
8a62eebd | 106 | %glib_compile_schemas |
7da7f727 | 107 | %scrollkeeper_update_postun |
c39a7ea7 | 108 | %update_icon_cache hicolor |
e3d51f7b | 109 | |
e85806ae | 110 | %files -f %{name}.lang |
111 | %defattr(644,root,root,755) | |
112 | %doc README AUTHORS HACKING NEWS ChangeLog | |
b5984320 PZ |
113 | %attr(755,root,root) %{_bindir}/network-admin |
114 | %attr(755,root,root) %{_bindir}/services-admin | |
115 | %attr(755,root,root) %{_bindir}/shares-admin | |
116 | %attr(755,root,root) %{_bindir}/time-admin | |
117 | %attr(755,root,root) %{_bindir}/users-admin | |
be4b5fe7 | 118 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-gst-shares.so |
e85806ae | 119 | %{_datadir}/%{name} |
b0ee1f66 JB |
120 | %{_datadir}/glib-2.0/schemas/org.gnome.system-tools.gschema.xml |
121 | %dir %{_sysconfdir}/gnome-system-tools | |
122 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnome-system-tools/user-profiles.conf | |
b5984320 PZ |
123 | %{_desktopdir}/network.desktop |
124 | %{_desktopdir}/services.desktop | |
125 | %{_desktopdir}/shares.desktop | |
126 | %{_desktopdir}/time.desktop | |
127 | %{_desktopdir}/users.desktop | |
4e84e4d3 JB |
128 | %{_iconsdir}/hicolor/*x*/apps/time-admin.png |
129 | %{_iconsdir}/hicolor/48x48/devices/irda.png | |
130 | %{_iconsdir}/hicolor/48x48/devices/plip.png | |
131 | %{_iconsdir}/hicolor/scalable/apps/time-admin.svg | |
b0ee1f66 | 132 | %{_pkgconfigdir}/gnome-system-tools.pc |