]> git.pld-linux.org Git - packages/gnome-system-tools.git/blob - gnome-system-tools.spec
- added link patch, updated BRs
[packages/gnome-system-tools.git] / gnome-system-tools.spec
1 Summary:        GNOME System Tools
2 Summary(pl.UTF-8):      GNOME System Tools - narzędzia systemowe GNOME
3 Name:           gnome-system-tools
4 Version:        3.0.0
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        https://download.gnome.org/sources/gnome-system-tools/3.0/%{name}-%{version}.tar.bz2
9 # Source0-md5:  5dc48086cec964d146c9c446a54a8d39
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-link.patch
12 URL:            https://gitlab.gnome.org/Archive/gnome-system-tools
13 BuildRequires:  autoconf >= 2.59-9
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  dbus-devel >= 1.1.2
16 BuildRequires:  docbook-dtd412-xml
17 BuildRequires:  gettext-tools
18 BuildRequires:  glib2-devel >= 1:2.16.0
19 BuildRequires:  gnome-doc-utils >= 0.12.0
20 BuildRequires:  gtk+3-devel >= 3.0.0
21 BuildRequires:  intltool
22 BuildRequires:  libiw-devel
23 BuildRequires:  liboobs-devel >= 3.0.0
24 BuildRequires:  libxml2-progs
25 BuildRequires:  nautilus-devel >= 3.0.0
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpmbuild(find_lang) >= 1.23
28 BuildRequires:  rpmbuild(macros) >= 1.311
29 BuildRequires:  system-tools-backends-devel >= 2.10.0
30 Requires(post,postun):  gtk-update-icon-cache
31 Requires(post,postun):  hicolor-icon-theme
32 Requires(post,postun):  scrollkeeper
33 Requires(post,preun):   GConf2
34 Requires:       /etc/pld-release
35 Requires:       gtk+3 >= 3.0.0
36 Requires:       liboobs >= 2.30.0
37 Requires:       nautilus-libs >= 3.0.0
38 Requires:       polkit-gnome >= 0.94
39 Requires:       setup >= 2.6.1-1
40 Requires:       shadow-extras
41 Requires:       system-tools-backends >= 2.10.0
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
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
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
57 warunkach Powszechnej Licencji Publicznej GNU.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62 %patch1 -p1
63
64 %build
65 install -d m4
66 %{__glib_gettextize}
67 %{__intltoolize}
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoheader}
71 %{__automake}
72 %{__autoconf}
73 %configure \
74         --disable-scrollkeeper \
75         --disable-schemas-install \
76         --disable-silent-rules \
77         --disable-static \
78         --enable-nautilus \
79         --enable-network \
80         --enable-polkit-gtk \
81         --enable-services \
82         --enable-shares \
83         --enable-time \
84         --enable-users
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libnautilus-gst-shares.la
94
95 %find_lang %{name} --with-gnome --with-omf --all-name
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post
101 %glib_compile_schemas
102 %scrollkeeper_update_post
103 %update_icon_cache hicolor
104
105 %postun
106 %glib_compile_schemas
107 %scrollkeeper_update_postun
108 %update_icon_cache hicolor
109
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc README AUTHORS HACKING NEWS ChangeLog
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
118 %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-gst-shares.so
119 %{_datadir}/%{name}
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
123 %{_desktopdir}/network.desktop
124 %{_desktopdir}/services.desktop
125 %{_desktopdir}/shares.desktop
126 %{_desktopdir}/time.desktop
127 %{_desktopdir}/users.desktop
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
132 %{_pkgconfigdir}/gnome-system-tools.pc
This page took 0.095571 seconds and 3 git commands to generate.