]> git.pld-linux.org Git - packages/gnome-system-tools.git/blame - gnome-system-tools.spec
- added link patch, updated BRs
[packages/gnome-system-tools.git] / gnome-system-tools.spec
CommitLineData
e85806ae 1Summary: GNOME System Tools
a6ea11e5 2Summary(pl.UTF-8): GNOME System Tools - narzędzia systemowe GNOME
e85806ae 3Name: gnome-system-tools
be4b5fe7 4Version: 3.0.0
a19327b6 5Release: 2
be4b5fe7 6License: GPL v2+
e47c355e 7Group: X11/Applications
1072d947 8Source0: https://download.gnome.org/sources/gnome-system-tools/3.0/%{name}-%{version}.tar.bz2
be4b5fe7 9# Source0-md5: 5dc48086cec964d146c9c446a54a8d39
e1a53433 10Patch0: %{name}-desktop.patch
4e84e4d3 11Patch1: %{name}-link.patch
1072d947 12URL: https://gitlab.gnome.org/Archive/gnome-system-tools
8a62eebd
AF
13BuildRequires: autoconf >= 2.59-9
14BuildRequires: automake >= 1:1.9
b5984320 15BuildRequires: dbus-devel >= 1.1.2
22cbb48f 16BuildRequires: docbook-dtd412-xml
04ae3926 17BuildRequires: gettext-tools
b5984320 18BuildRequires: glib2-devel >= 1:2.16.0
b5984320 19BuildRequires: gnome-doc-utils >= 0.12.0
be4b5fe7 20BuildRequires: gtk+3-devel >= 3.0.0
7b989423 21BuildRequires: intltool
c39a7ea7 22BuildRequires: libiw-devel
be4b5fe7 23BuildRequires: liboobs-devel >= 3.0.0
7b989423 24BuildRequires: libxml2-progs
be4b5fe7 25BuildRequires: nautilus-devel >= 3.0.0
2bb031a4 26BuildRequires: pkgconfig
8ed61fd3 27BuildRequires: rpmbuild(find_lang) >= 1.23
c39a7ea7 28BuildRequires: rpmbuild(macros) >= 1.311
a19327b6 29BuildRequires: system-tools-backends-devel >= 2.10.0
1aff82ac 30Requires(post,postun): gtk-update-icon-cache
c39a7ea7 31Requires(post,postun): hicolor-icon-theme
7da7f727 32Requires(post,postun): scrollkeeper
c39a7ea7 33Requires(post,preun): GConf2
f556dbdb 34Requires: /etc/pld-release
be4b5fe7 35Requires: gtk+3 >= 3.0.0
d000e332 36Requires: liboobs >= 2.30.0
be4b5fe7 37Requires: nautilus-libs >= 3.0.0
c1c3be14 38Requires: polkit-gnome >= 0.94
ad395079 39Requires: setup >= 2.6.1-1
f556dbdb 40Requires: shadow-extras
d000e332 41Requires: system-tools-backends >= 2.10.0
e85806ae 42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d508e96d 43
e85806ae 44%description
45The GST are a fully integrated set of tools aimed to make easy the job
46that means the computer administration on an UNIX or Linux system.
47They're thought to help from the new Linux or UNIX user to the system
48administrators. The GNOME System Tools are free software, licensed
49under the terms of the GNU General Public License.
50
8501bc88
JR
51%description -l pl.UTF-8
52GST (GNOME System Tools) to w pełni zintegrowany zestaw narzędzi,
53których celem jest ułatwienie prac administracyjnych pod systemem
54uniksowym lub linuksowym. Są pomyślane tak, aby pomóc nowym
55użytkownikom Linuksa lub Uniksa w administrowaniu systemem. GNOME
56System Tools to wolnodostępne oprogramowanie, licencjonowane na
d508e96d
JB
57warunkach Powszechnej Licencji Publicznej GNU.
58
e85806ae 59%prep
60%setup -q
e1a53433 61%patch0 -p1
4e84e4d3 62%patch1 -p1
e85806ae 63
64%build
1072d947 65install -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
88rm -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
98rm -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
This page took 0.075889 seconds and 4 git commands to generate.