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