]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/control-center.git] / control-center.spec
1 Summary:        GNOME control center
2 Summary(es):    El centro de controle del GNOME
3 Summary(pl):    Centrum kontroli GNOME
4 Summary(pt_BR): O Centro de Controle do GNOME
5 Name:           control-center
6 Version:        1.4.0.4
7 Release:        1
8 Epoch:          1
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-macros.patch
13 Patch1:         %{name}-applnk.patch
14 Patch2:         %{name}-wm-properties_path.patch
15 Patch3:         %{name}-esdrelease.patch
16 Patch4:         %{name}-pldrelease.patch
17 Patch5:         %{name}-am_conditional.patch
18 Patch6:         %{name}-uipropertiesmenu.patch
19 Patch7:         %{name}-setroothint.patch
20 Patch8:         %{name}-no_mans.patch
21 URL:            http://www.gnome.org/
22 Icon:           control-center.gif
23 BuildRequires:  GConf-devel
24 BuildRequires:  ORBit-devel >= 0.5.6
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  bison
28 BuildRequires:  flex
29 BuildRequires:  esound-devel >= 0.2.5
30 BuildRequires:  findutils
31 BuildRequires:  gdk-pixbuf-devel >= 0.7.0
32 BuildRequires:  gettext-devel
33 BuildRequires:  gnome-libs-devel >= 1.2.12-3
34 BuildRequires:  gnome-vfs-devel >= 0.9
35 BuildRequires:  gtk+-devel >= 1.1.16
36 BuildRequires:  imlib-devel >= 1.8.2
37 BuildRequires:  intltool
38 BuildRequires:  libtool
39 BuildRequires:  oaf-devel
40 BuildRequires:  zlib-devel
41 PreReq:         /sbin/ldconfig
42 PreReq:         scrollkeeper
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 Obsoletes:      gnome
45
46 %define         _prefix         /usr/X11R6
47 %define         _sysconfdir     /etc/X11/GNOME
48 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
49
50 %description
51 A Configuration tool for easily setting up your GNOME environment.
52 GNOME is the GNU Network Object Model Environment. That's a fancy name
53 but really GNOME is a nice GUI desktop environment. It makes using
54 your computer easy, powerful, and easy to configure.
55
56 %description -l es
57 El control-center es una herramienta para una configuración facilitada
58 el entorno GNOME.
59
60 %description -l pl
61 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
62 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
63 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
64 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
65 proste, wydajne i ³atwe w konfiguracji.
66
67 %description -l pt_BR
68 O control-center é uma ferramenta para facilmente configurar seu
69 ambiente GNOME.
70
71 %package devel
72 Summary:        GNOME control-center includes
73 Summary(es):    Archivos para desarrollo con el control-center del GNOME
74 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
75 Summary(pt_BR): Arquivos para desenvolvimento com o control-center do GNOME
76 Group:          X11/Development/Libraries
77 Requires:       %{name} = %{version}
78
79 %description devel
80 Capplet development stuff.
81
82 %description -l es devel
83 Archivos para desarrollo con el control-center del GNOME
84
85 %description -l pl
86 Rzeczy potrzebne do kompilacji.
87
88 %description -l pt_BR devel
89 Se você estiver interessado em desenvolver painéis para o centro de
90 controle do GNOME este pacote será necessário.
91
92 O control-center-devel lhe a ajuda na criação de 'capplets', que são
93 usados no centro de controle.
94
95 %package static
96 Summary:        GNOME control-center static libraries
97 Summary(es):    Archivos estáticos para desarrollo con el control-center del GNOME
98 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
99 Summary(pt_BR): Arquivos estáticos para desenvolvimento com o control-center
100 Group:          X11/Development/Libraries
101 Requires:       %{name}-devel = %{version}
102
103 %description static
104 GNOME control-center static libraries.
105
106 %description -l es static
107 El control-center es una herramienta para una configuración facilitada
108 el entorno GNOME.
109
110 Archivos para desarrollo con el control-center del GNOME Archivos
111 estáticos del control-center del gnome.
112
113 %description -l pl
114 Statyczne biblioteki dla centrum kontroli GNOME.
115
116 %description -l pt_BR static
117 O control-center-devel lhe a ajuda na criação de 'capplets', que são
118 usados no centro de controle.
119
120 Se você estiver interessado em desenvolver painéis para o centro de
121 controle do GNOME este pacote será necessário. Nota: este pacote
122 contém somente os arquivos estáticos.
123
124 %prep
125 %setup -q
126 %patch0 -p1
127 %patch1 -p1
128 %patch2 -p1
129 %patch3 -p1
130 %patch4 -p1
131 %patch5 -p1
132 %patch6 -p1
133 %patch7 -p1
134 %patch8 -p1
135
136 %build
137 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
138 mv -f configure.in.tmp configure.in
139 rm -f missing
140 xml-i18n-toolize --copy --force
141 libtoolize --copy --force
142 gettextize --copy --force
143 rm -f macros/xml-i18n-tools.m4  # have it in xml-i18n-tools
144 aclocal -I macros
145 autoconf
146 automake -a -c
147 %configure 
148
149 %{__make}
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153
154 %{__make} install \
155         DESTDIR=$RPM_BUILD_ROOT \
156         omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
157
158 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
159         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
160         $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
161         
162 find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs rm -f
163
164 gzip -9nf AUTHORS ChangeLog NEWS README
165
166 %find_lang %{name} --with-gnome
167
168 %clean
169 rm -rf $RPM_BUILD_ROOT
170
171 %post
172 /sbin/ldconfig
173 /usr/bin/scrollkeeper-update
174
175 %postun
176 /sbin/ldconfig
177 /usr/bin/scrollkeeper-update
178
179 %files -f %{name}.lang
180 %defattr(644,root,root,755)
181 %{_sysconfdir}/CORBA/servers/*
182 %attr(755,root,root) %{_bindir}/*
183 %attr(755,root,root) %{_libdir}/lib*.so.*.*
184
185 %{_datadir}/control-center
186 %{_applnkdir}/Settings/GNOME
187 %{_omf_dest_dir}/omf/%{name}
188 %dir %{_datadir}/gnome/wm-properties
189 %{_pixmapsdir}/*
190 %{_datadir}/idl/*
191
192 %files devel
193 %defattr(644,root,root,755)
194 %doc *.gz
195 %attr(755,root,root) %{_libdir}/lib*.so
196 %attr(755,root,root) %{_libdir}/lib*.la
197 %attr(755,root,root) %{_libdir}/*.sh
198 %{_includedir}/*
199
200 %files static
201 %defattr(644,root,root,755)
202 %{_libdir}/lib*.a
This page took 0.27415 seconds and 4 git commands to generate.