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