]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- reduced_resources.patch - allow on/off wireframe metacity mode
[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 Summary(uk):    ãÅÎÔÒ ËÅÒÕ×ÁÎÎÑ GNOME
6 Summary(ru):    ãÅÎÔÒ ÕÐÒÁ×ÌÅÎÉÑ GNOME
7 Name:           control-center
8 Version:        2.4.0
9 Release:        12
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
14 # Source0-md5:  44115d3174d2f603f34a336ada562bae
15 Patch0:         %{name}-fontconfig.patch
16 Patch1:         %{name}-am17.patch
17 Patch2:         %{name}-link.patch
18 Patch3:         %{name}-randr.patch
19 Patch4:         %{name}-def-apps-capplet.patch
20 Patch5:         %{name}-wm_properties-dir.patch
21 Patch6:         %{name}-additional-metacity-keybinding.patch
22 Patch7:         %{name}-pixmaps-dirs.patch
23 Patch8:         %{name}-capplets-dir.patch
24 Patch9:         %{name}-themus-glade.patch
25 Patch10:        %{name}-dpi.patch
26 Patch11:        %{name}-home-themes-fix.patch
27 Patch12:        %{name}-report-no-theme.patch
28 Patch13:        %{name}-reduced_resources.patch
29 URL:            http://www.gnome.org/
30 Icon:           control-center.gif
31 BuildRequires:  GConf2-devel >= 2.3.3
32 BuildRequires:  ORBit2-devel >= 2.8.0
33 BuildRequires:  audiofile >= 0.2.3-3
34 BuildRequires:  autoconf
35 BuildRequires:  automake
36 BuildRequires:  bison
37 BuildRequires:  flex
38 BuildRequires:  esound-devel
39 BuildRequires:  findutils
40 BuildRequires:  gettext-devel
41 BuildRequires:  gnome-desktop-devel >= 2.3.90
42 BuildRequires:  gnome-vfs2-devel >= 2.4.0
43 BuildRequires:  gtk+2-devel >= 2.2.3
44 BuildRequires:  intltool >= 0.25
45 BuildRequires:  libbonobo-devel >= 2.4.0
46 BuildRequires:  libbonoboui-devel >= 2.4.0
47 BuildRequires:  libglade2-devel >= 2.0.1
48 BuildRequires:  libgnome-devel >= 2.4.0
49 BuildRequires:  libgnomeui-devel >= 2.4.0
50 BuildRequires:  libxml2-devel >= 2.5.10
51 BuildRequires:  libtool
52 BuildRequires:  metacity-devel >= 2.5.1
53 BuildRequires:  nautilus-devel >= 2.3.90
54 BuildRequires:  scrollkeeper >= 0.3.12
55 BuildRequires:  startup-notification-devel
56 BuildRequires:  xft-devel >= 2.1.1
57 PreReq:         /sbin/ldconfig
58 PreReq:         scrollkeeper
59 Requires(post): GConf2
60 Requires:       gnome-vfs2 >= 2.4.0
61 Obsoletes:      fontilus
62 Obsoletes:      gnome
63 Obsoletes:      themus
64 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
66 %description
67 A Configuration tool for easily setting up your GNOME environment.
68 GNOME is the GNU Network Object Model Environment. That's a fancy name
69 but really GNOME is a nice GUI desktop environment. It makes using
70 your computer easy, powerful, and easy to configure.
71
72 %description -l es
73 El control-center es una herramienta para una configuración facilitada
74 el entorno GNOME.
75
76 %description -l pl
77 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
78 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
79 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
80 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
81 proste, wydajne i ³atwe w konfiguracji.
82
83 %description -l pt_BR
84 O control-center é uma ferramenta para facilmente configurar seu
85 ambiente GNOME.
86
87 %description -l ru
88 ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
89 GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏΠÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
90 ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
91 ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
92
93 üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
94
95 %description -l uk
96 ðÁËÅÔ control-center Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
97 ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏΠÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
98 ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
99 ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
100
101 ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
102
103 %package devel
104 Summary:        GNOME Control-Center header files
105 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME Control-Center
106 Group:          X11/Development/Libraries
107 Requires:       %{name} = %{epoch}:%{version}
108
109 %description devel
110 GNOME Control-Center header files.
111
112 %description devel -l pl
113 Pliki nag³ówkowe bibliotek GNOME Control-Center
114
115 %package static
116 Summary:        GNOME Control-Center static libraries
117 Summary(pl):    Statyczne biblioteki GNOME Control-Center
118 Group:          X11/Development/Libraries
119 Requires:       %{name}-devel = %{epoch}:%{version}
120
121 %description static
122 GNOME Control-Center static libraries.
123
124 %description static -l pl
125 Statyczne biblioteki GNOME Control-Center.
126
127 %prep
128 %setup -q
129 %patch0 -p1
130 %patch1 -p1
131 %patch2 -p1
132 %patch3 -p1
133 %patch4 -p1
134 %patch5 -p1
135 %patch6 -p1
136 %patch7 -p1
137 %patch8 -p1
138 %patch9 -p1
139 %patch10 -p1
140 %patch11 -p1
141 %patch12 -p1
142 %patch13 -p1
143
144 %build
145 glib-gettextize --copy --force
146 intltoolize --copy --force
147 %{__libtoolize}
148 %{__aclocal}
149 %{__autoheader}
150 %{__autoconf}
151 %{__automake}
152 %configure \
153         --disable-schemas-install \
154         X_EXTRA_LIBS="-lXext"
155
156 %{__make}
157
158 %install
159 rm -rf $RPM_BUILD_ROOT
160
161 %{__make} install \
162         DESTDIR=$RPM_BUILD_ROOT
163
164 # no static modules - shut up check-files
165 rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
166 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.{a,la}
167 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
168
169 %find_lang %{name} --with-gnome --all-name
170
171 %clean
172 rm -rf $RPM_BUILD_ROOT
173
174 %post
175 /sbin/ldconfig
176 %gconf_schema_install
177
178 %postun -p /sbin/ldconfig
179
180 %files -f %{name}.lang
181 %defattr(644,root,root,755)
182 %doc AUTHORS ChangeLog NEWS README
183 %{_sysconfdir}/gconf/schemas/*
184 %{_sysconfdir}/gnome-vfs-2.0/modules/*
185 %attr(755,root,root) %{_bindir}/*
186 %attr(755,root,root) %{_libdir}/fontilus-context-menu
187 %attr(755,root,root) %{_libdir}/lib*.so.*.*
188 %attr(755,root,root) %{_libdir}/bonobo/*.so
189 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so
190 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
191 %dir %{_libdir}/window-manager-settings
192 %{_libdir}/bonobo/servers/*
193 %{_datadir}/application-registry/*
194 %{_datadir}/control-center-2.0
195 %{_datadir}/gnome/cursor-fonts
196 %{_datadir}/gnome/vfolders/*
197 %{_datadir}/gnome-2.0/ui/*
198 %{_datadir}/gnome/capplets
199 %{_datadir}/idl/*
200 %{_datadir}/mime-info/*
201 %{_pixmapsdir}/gnomecc-2
202 %{_pixmapsdir}/*.png
203 %{_desktopdir}/*
204
205 %files devel
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_libdir}/lib*.so
208 %{_libdir}/lib*.la
209 %{_includedir}/gnome-window-settings-2.0
210 %{_pkgconfigdir}/*.pc
211
212 %files static
213 %defattr(644,root,root,755)
214 %{_libdir}/*.a
This page took 0.153578 seconds and 3 git commands to generate.