]> git.pld-linux.org Git - packages/gnome-system-tools.git/blob - gnome-system-tools.spec
- fix DESTDIR
[packages/gnome-system-tools.git] / gnome-system-tools.spec
1 #TODO
2 # think about split devel subpackage
3 Summary:        GNOME System Tools
4 Summary(pl):    GNOME System Tools - narzêdzia systemowe GNOME
5 Name:           gnome-system-tools
6 Version:        0.31.0
7 Release:        1
8 License:        LGPL
9 Group:          Applications/System
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.31/%{name}-%{version}.tar.bz2
11 # Source0-md5:  0572f8baefc4b858895942683fabc704
12 Patch0:         %{name}-DESTDIR.patch
13 URL:            http://www.gnome.org/projects/gst/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  GConf2-devel >= 2.4.0.1
17 BuildRequires:  cracklib-devel
18 BuildRequires:  gnome-common >= 2.4.0
19 BuildRequires:  libglade2-devel >= 2.0.1
20 BuildRequires:  libgnomeui-devel >= 2.4.0.1
21 BuildRequires:  libxml2-devel >= 2.5.11
22 Requires(post): GConf2
23 Requires:       /etc/pld-release
24 Requires:       shadow-extras
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 The GST are a fully integrated set of tools aimed to make easy the job
29 that means the computer administration on an UNIX or Linux system.
30 They're thought to help from the new Linux or UNIX user to the system
31 administrators. The GNOME System Tools are free software, licensed
32 under the terms of the GNU General Public License.
33
34 %description -l pl
35 GST (GNOME System Tools) to w pe³ni zintegrowany zestaw narzêdzi,
36 których celem jest u³atwienie prac administracyjnych pod systemem
37 uniksowym lub linuksowym. S± pomy¶lane tak, aby pomóc nowym
38 u¿ytkownikom Linuksa lub Uniksa w administrowaniu systemem. GNOME
39 System Tools to wolnodostêpne oprogramowanie, licencjonowane na
40 warunkach Powszechnej Licencji Publicznej GNU.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 cp /usr/share/automake/config.sub .
48 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --disable-schemas-install \
53         --enable-platform-gnome-2 \
54         --disable-static
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
63
64 %find_lang %{name} --with-gnome --all-name
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %gconf_schema_install
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc README AUTHORS HACKING NEWS ChangeLog
75 %attr(755,root,root) %{_bindir}/*
76 %attr(755,root,root) %{_datadir}/setup-tool-backends/scripts/*
77 %attr(755,root,root) %{_datadir}/setup-tool-backends/files/*
78 %dir %{_datadir}/setup-tool-backends
79 %dir %{_datadir}/setup-tool-backends/files
80 %dir %{_datadir}/setup-tool-backends/scripts
81 %{_desktopdir}/*.desktop
82 %{_sysconfdir}/X11/sysconfig/*.desktop
83 %{_datadir}/%{name}
84 %{_sysconfdir}/gconf/schemas/%{name}.*
85 %{_pkgconfigdir}/*.pc
This page took 0.088269 seconds and 3 git commands to generate.