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