]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- X_EXTRA_LIBS="-lXext" (build with Xrandr now)
[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:        9
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}-wm_properties-dir.patch
21 Patch6:         %{name}-additional-metacity-keybinding.patch
22 Patch7:         %{name}-pixmaps-dirs.patch
23 Patch8:         %{name}-capplets-dir.patch
24 Patch9:         %{name}-themus-glade.patch
25 Patch10:        %{name}-font-capplet-disable-dpi.patch
26 URL:            http://www.gnome.org/
27 Icon:           control-center.gif
28 BuildRequires:  GConf2-devel >= 2.3.3
29 BuildRequires:  ORBit2-devel >= 2.8.0
30 BuildRequires:  audiofile >= 0.2.3-3
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.3.90
39 BuildRequires:  gnome-vfs2-devel >= 2.4.0
40 BuildRequires:  gtk+2-devel >= 2.2.3
41 BuildRequires:  intltool >= 0.25
42 BuildRequires:  libbonobo-devel >= 2.4.0
43 BuildRequires:  libbonoboui-devel >= 2.4.0
44 BuildRequires:  libglade2-devel >= 2.0.1
45 BuildRequires:  libgnome-devel >= 2.4.0
46 BuildRequires:  libgnomeui-devel >= 2.4.0
47 BuildRequires:  libxml2-devel >= 2.5.10
48 BuildRequires:  libtool
49 BuildRequires:  metacity-devel >= 2.5.1
50 BuildRequires:  nautilus-devel >= 2.3.90
51 BuildRequires:  scrollkeeper >= 0.3.12
52 BuildRequires:  startup-notification-devel
53 BuildRequires:  xft-devel >= 2.1.1
54 PreReq:         /sbin/ldconfig
55 PreReq:         scrollkeeper
56 Requires(post): GConf2
57 Requires:       gnome-vfs2 >= 2.4.0
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}
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}
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
127 %patch1 -p1
128 %patch2 -p1
129 %patch3 -p1
130 %patch4 -p1
131 %patch5 -p1
132 %patch6 -p1
133 %patch7 -p1
134 %patch8 -p1
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         X_EXTRA_LIBS="-lXext"
149
150 %{__make}
151
152 %install
153 rm -rf $RPM_BUILD_ROOT
154
155 %{__make} install \
156         DESTDIR=$RPM_BUILD_ROOT
157
158 # no static modules - shut up check-files
159 rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
160 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.{a,la}
161 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
162
163 %find_lang %{name} --with-gnome --all-name
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post
169 /sbin/ldconfig
170 %gconf_schema_install
171
172 %postun -p /sbin/ldconfig
173
174 %files -f %{name}.lang
175 %defattr(644,root,root,755)
176 %doc AUTHORS ChangeLog NEWS README
177 %{_sysconfdir}/gconf/schemas/*
178 %{_sysconfdir}/gnome-vfs-2.0/modules/*
179 %attr(755,root,root) %{_bindir}/*
180 %attr(755,root,root) %{_libdir}/fontilus-context-menu
181 %attr(755,root,root) %{_libdir}/lib*.so.*.*
182 %attr(755,root,root) %{_libdir}/bonobo/*.so
183 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so
184 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
185 %dir %{_libdir}/window-manager-settings
186 %{_libdir}/bonobo/servers/*
187 %{_datadir}/application-registry/*
188 %{_datadir}/control-center-2.0
189 %{_datadir}/gnome/cursor-fonts
190 %{_datadir}/gnome/vfolders/*
191 %{_datadir}/gnome-2.0/ui/*
192 %{_datadir}/gnome/capplets
193 %{_datadir}/idl/*
194 %{_datadir}/mime-info/*
195 %{_pixmapsdir}/gnomecc-2
196 %{_pixmapsdir}/*.png
197 %{_desktopdir}/*
198
199 %files devel
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/lib*.so
202 %{_libdir}/lib*.la
203 %{_includedir}/gnome-window-settings-2.0
204 %{_pkgconfigdir}/*.pc
205
206 %files static
207 %defattr(644,root,root,755)
208 %{_libdir}/*.a
This page took 0.052686 seconds and 4 git commands to generate.