]> git.pld-linux.org Git - packages/gnome-system-tools.git/blob - gnome-system-tools.spec
- added configure patch
[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.91.0
7 Release:        1
8 License:        LGPL
9 Group:          Applications/System
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.91/%{name}-%{version}.tar.bz2
11 # Source0-md5:  51678f1b479a10a731deef7c27d82e35
12 Patch0:         %{name}-locale-names.patch
13 Patch1:         %{name}-CommonMakefile.patch
14 Patch2:         %{name}-configure.patch
15 URL:            http://www.gnome.org/projects/gst/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  GConf2-devel >= 2.6.2
19 BuildRequires:  cracklib-devel
20 BuildRequires:  gnome-common >= 2.4.0
21 BuildRequires:  gtk+2-devel >= 2:2.4.4
22 BuildRequires:  libglade2-devel >= 1:2.4.0
23 BuildRequires:  libgnomeui-devel >= 2.6.1.1
24 BuildRequires:  libtool
25 BuildRequires:  libxml2-devel >= 2.5.11
26 Requires(post): GConf2
27 Requires(post): scrollkeeper
28 Requires:       /etc/pld-release
29 Requires:       gtk+2 >= 2:2.4.4
30 Requires:       shadow-extras
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 The GST are a fully integrated set of tools aimed to make easy the job
35 that means the computer administration on an UNIX or Linux system.
36 They're thought to help from the new Linux or UNIX user to the system
37 administrators. The GNOME System Tools are free software, licensed
38 under the terms of the GNU General Public License.
39
40 %description -l pl
41 GST (GNOME System Tools) to w pe³ni zintegrowany zestaw narzêdzi,
42 których celem jest u³atwienie prac administracyjnych pod systemem
43 uniksowym lub linuksowym. S± pomy¶lane tak, aby pomóc nowym
44 u¿ytkownikom Linuksa lub Uniksa w administrowaniu systemem. GNOME
45 System Tools to wolnodostêpne oprogramowanie, licencjonowane na
46 warunkach Powszechnej Licencji Publicznej GNU.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53
54 mv po/{no,nb}.po
55 mv backends/po/{no,nb}.po
56
57 %build
58 cd backends
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 cd ..
63
64 %{__libtoolize}
65 gnome-doc-common
66 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
67 %{__autoconf}
68 %{__automake}
69 %configure \
70         --disable-schemas-install \
71         --enable-platform-gnome-2 \
72         --disable-static
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT \
80         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
81
82 %find_lang %{name} --with-gnome --all-name
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post
88 /usr/bin/scrollkeeper-update
89 %gconf_schema_install
90
91 %postun -p /usr/bin/scrollkeeper-update
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc README AUTHORS HACKING NEWS ChangeLog
96 %attr(755,root,root) %{_bindir}/*
97 %attr(755,root,root) %{_datadir}/setup-tool-backends/scripts/*
98 %attr(755,root,root) %{_datadir}/setup-tool-backends/files/*
99 %dir %{_datadir}/setup-tool-backends
100 %dir %{_datadir}/setup-tool-backends/files
101 %dir %{_datadir}/setup-tool-backends/scripts
102 %{_desktopdir}/*.desktop
103 %{_sysconfdir}/X11/sysconfig/*.desktop
104 %{_datadir}/%{name}
105 %{_sysconfdir}/gconf/schemas/%{name}.*
106 %{_pkgconfigdir}/*.pc
107 %{_omf_dest_dir}/%{name}
This page took 0.081669 seconds and 3 git commands to generate.