]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- rel. 0.2
[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.9.91
9 Release:        0.2
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.9/%{name}-%{version}.tar.bz2
14 # Source0-md5:  99a8c387fa207f07c2e393f6c772dcd4
15 Patch0:         %{name}-randr.patch
16 #Patch1:                %{name}-def-apps-capplet.patch
17 Patch2:         %{name}-wm_properties-dir.patch
18 Patch3:         %{name}-additional-metacity-keybinding.patch
19 Patch4:         %{name}-dpi.patch
20 Patch5:         %{name}-reduced_resources.patch
21 Patch6:         %{name}-def-apps-capplet-browsers.patch
22 Patch7:         %{name}-capplet.patch
23 Patch8:         %{name}-desktop.patch
24 URL:            http://www.gnome.org/
25 Icon:           control-center.gif
26 BuildRequires:  GConf2-devel >= 2.9.90
27 BuildRequires:  ORBit2-devel >= 1:2.12.1
28 BuildRequires:  alsa-lib-devel >= 0.9.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.9.91
38 BuildRequires:  gnome-menus-devel >= 2.9.90
39 BuildRequires:  gnome-vfs2-devel >= 2.9.90
40 BuildRequires:  gstreamer-plugins-devel >= 0.8.7
41 BuildRequires:  gtk+2-devel >= 2:2.6.2
42 BuildRequires:  intltool >= 0.30
43 BuildRequires:  libglade2-devel >= 1:2.5.0
44 BuildRequires:  libgnomeui-devel >= 2.9.1
45 BuildRequires:  libxml2-devel >= 2.6.13
46 BuildRequires:  libxklavier-devel >= 1.14
47 BuildRequires:  libtool
48 BuildRequires:  metacity-devel >= 2:2.9.8
49 BuildRequires:  nautilus-devel >= 2.9.90
50 BuildRequires:  scrollkeeper >= 0.3.12
51 BuildRequires:  xft-devel >= 2.1.1
52 PreReq:         /sbin/ldconfig
53 PreReq:         scrollkeeper
54 Requires(post): GConf2
55 Requires:       gnome-vfs2 >= 2.9.90
56 Obsoletes:      acme
57 Obsoletes:      fontilus
58 Obsoletes:      gnome
59 Obsoletes:      themus
60 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62 %description
63 A Configuration tool for easily setting up your GNOME environment.
64 GNOME is the GNU Network Object Model Environment. That's a fancy name
65 but really GNOME is a nice GUI desktop environment. It makes using
66 your computer easy, powerful, and easy to configure.
67
68 %description -l es
69 El control-center es una herramienta para una configuración facilitada
70 el entorno GNOME.
71
72 %description -l pl
73 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
74 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
75 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
76 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
77 proste, wydajne i ³atwe w konfiguracji.
78
79 %description -l pt_BR
80 O control-center é uma ferramenta para facilmente configurar seu
81 ambiente GNOME.
82
83 %description -l ru
84 ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
85 GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏΠÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
86 ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
87 ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
88
89 üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
90
91 %description -l uk
92 ðÁËÅÔ control-center Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
93 ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏΠÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
94 ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
95 ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
96
97 ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
98
99 %package devel
100 Summary:        GNOME Control-Center header files
101 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME Control-Center
102 Group:          X11/Development/Libraries
103 Requires:       %{name} = %{epoch}:%{version}-%{release}
104
105 %description devel
106 GNOME Control-Center header files.
107
108 %description devel -l pl
109 Pliki nag³ówkowe bibliotek GNOME Control-Center
110
111 %package static
112 Summary:        GNOME Control-Center static libraries
113 Summary(pl):    Statyczne biblioteki GNOME Control-Center
114 Group:          X11/Development/Libraries
115 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
116
117 %description static
118 GNOME Control-Center static libraries.
119
120 %description static -l pl
121 Statyczne biblioteki GNOME Control-Center.
122
123 %prep
124 %setup -q
125 %patch0 -p1
126 ##%patch1 -p1
127 %patch2 -p1
128 %patch3 -p1
129 %patch4 -p1
130 %patch5 -p1
131 %patch6 -p1 
132 %patch7 -p1
133 %patch8 -p1
134
135 %build
136 glib-gettextize --copy --force
137 intltoolize --copy --force
138 %{__libtoolize}
139 %{__aclocal}
140 %{__autoheader}
141 %{__autoconf}
142 %{__automake}
143 %configure \
144         --disable-schemas-install \
145         --enable-gstreamer \
146         X_EXTRA_LIBS="-lXext"
147
148 %{__make}
149
150 %install
151 rm -rf $RPM_BUILD_ROOT
152
153 %{__make} install \
154         DESTDIR=$RPM_BUILD_ROOT
155
156 #mv $RPM_BUILD_ROOT%{_iconsdir}/gnome/48x48/apps/accessibility-directory.png \
157 #       $RPM_BUILD_ROOT%{_pixmapsdir}
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}/nautilus/extensions*/*.{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}/nautilus/extensions*/*.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}/*/*/*/gnome-control-center.png
200 %{_pixmapsdir}/*.png
201 %{_desktopdir}/*
202
203 %files devel
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/lib*.so
206 %{_libdir}/lib*.la
207 %{_includedir}/gnome-window-settings-2.0
208 %{_pkgconfigdir}/*.pc
209
210 %files static
211 %defattr(644,root,root,755)
212 %{_libdir}/*.a
This page took 0.066182 seconds and 3 git commands to generate.