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