]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
4a43bc8c902a3885ad61280996220ba78ccd7a72
[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:        0.1
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 URL:            http://www.gnome.org/
26 Icon:           control-center.gif
27 BuildRequires:  GConf2-devel >= 2.8.0
28 BuildRequires:  ORBit2-devel >= 1:2.12.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.8.0
38 BuildRequires:  gnome-vfs2-devel >= 2.8.0
39 BuildRequires:  gstreamer-plugins-devel >= 0.8.4
40 BuildRequires:  gtk+2-devel >= 2:2.4.4
41 BuildRequires:  intltool >= 0.30
42 BuildRequires:  libglade2-devel >= 1:2.4.0
43 BuildRequires:  libgnomeui-devel >= 2.8.0
44 BuildRequires:  libxml2-devel >= 2.6.13
45 BuildRequires:  libxklavier-devel >= 1.03
46 BuildRequires:  libtool
47 BuildRequires:  metacity-devel >= 2:2.8.5
48 BuildRequires:  nautilus-devel >= 2.8.0
49 BuildRequires:  scrollkeeper >= 0.3.12
50 BuildRequires:  startup-notification-devel >= 0.7
51 BuildRequires:  xft-devel >= 2.1.1
52 PreReq:         /sbin/ldconfig
53 PreReq:         scrollkeeper
54 Requires(post): GConf2
55 Requires:       gnome-vfs2 >= 2.8.0
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 -b .wiget
126 %patch1 -p1
127 ##%patch2 -p1
128 %patch3 -p1
129 %patch4 -p1
130 %patch5 -p1
131 %patch6 -p1
132 ##%patch7 -p1
133 %patch8 -p0
134 %patch9 -p1
135
136 %build
137 glib-gettextize --copy --force
138 intltoolize --copy --force
139 %{__libtoolize}
140 %{__aclocal}
141 %{__autoheader}
142 %{__autoconf}
143 %{__automake}
144 %configure \
145         --disable-schemas-install \
146         --enable-gstreamer \
147         X_EXTRA_LIBS="-lXext"
148
149 %{__make}
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153
154 %{__make} install \
155         DESTDIR=$RPM_BUILD_ROOT
156
157 # no static modules - shut up check-files
158 rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
159 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.{a,la}
160 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
161
162 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
163
164 %find_lang %{name} --with-gnome --all-name
165
166 %clean
167 rm -rf $RPM_BUILD_ROOT
168
169 %post
170 /sbin/ldconfig
171 %gconf_schema_install
172
173 %postun -p /sbin/ldconfig
174
175 %files -f %{name}.lang
176 %defattr(644,root,root,755)
177 %doc AUTHORS ChangeLog NEWS README
178 %{_sysconfdir}/gconf/schemas/*
179 %{_sysconfdir}/gnome-vfs-2.0/modules/*
180 %attr(755,root,root) %{_bindir}/*
181 %attr(755,root,root) %{_libdir}/fontilus-context-menu
182 %attr(755,root,root) %{_libdir}/gnome-settings-daemon
183 %attr(755,root,root) %{_libdir}/lib*.so.*.*
184 %attr(755,root,root) %{_libdir}/bonobo/*.so
185 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so
186 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
187 %dir %{_libdir}/window-manager-settings
188 %{_libdir}/bonobo/servers/*
189 %{_datadir}/application-registry/*
190 %{_datadir}/control-center-2.0
191 %{_datadir}/gnome/cursor-fonts
192 %{_datadir}/gnome/vfolders/*
193 %{_datadir}/gnome-2.0/ui/*
194 %{_datadir}/gnome/capplets
195 %{_datadir}/idl/*
196 %{_datadir}/mime-info/*
197 %{_iconsdir}/*
198 %{_pixmapsdir}/gnomecc-2
199 %{_pixmapsdir}/*.png
200 %{_desktopdir}/*
201
202 %files devel
203 %defattr(644,root,root,755)
204 %attr(755,root,root) %{_libdir}/lib*.so
205 %{_libdir}/lib*.la
206 %{_includedir}/gnome-window-settings-2.0
207 %{_pkgconfigdir}/*.pc
208
209 %files static
210 %defattr(644,root,root,755)
211 %{_libdir}/*.a
This page took 0.041778 seconds and 3 git commands to generate.