]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- updated to 1.2.3,
[packages/control-center.git] / control-center.spec
1 Summary:        GNOME control center
2 Summary(pl):    Centrum kontroli GNOME
3 Name:           control-center
4 Version:        1.2.3
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications
9 Group(de):      X11/Applikationen
10 Group(pl):      X11/Aplikacje
11 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-nosound.patch
13 Patch1:         %{name}-esdrelease.patch
14 Patch2:         %{name}-bgcolor1.patch
15 Patch3:         %{name}-fsbgpath.patch
16 Patch4:         %{name}-applnk.patch
17 Icon:           control-center.gif
18 Requires:       xscreensaver >= 2.34
19 BuildRequires:  ORBit-devel
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  esound-devel >= 0.2.5
23 BuildRequires:  gdk-pixbuf-devel
24 BuildRequires:  gnome-libs-devel
25 BuildRequires:  gtk+-devel >= 1.1.16
26 BuildRequires:  imlib-devel >= 1.8.2
27 BuildRequires:  zlib-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes:      gnome
30
31 %define         _prefix         /usr/X11R6
32 %define         _sysconfdir     /etc/X11/GNOME
33
34 %description
35 A Configuration tool for easily setting up your GNOME environment.
36 GNOME is the GNU Network Object Model Environment. That's a fancy name
37 but really GNOME is a nice GUI desktop environment. It makes using
38 your computer easy, powerful, and easy to configure.
39
40 %description -l pl
41 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
42 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
43 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
44 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
45 proste, wydajne i ³atwe w konfiguracji.
46
47 %package devel
48 Summary:        GNOME control-center includes
49 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
50 Group:          X11/Development/Libraries
51 Group(de):      X11/Entwicklung/Libraries
52 Group(pl):      X11/Programowanie/Biblioteki
53 Requires:       %{name} = %{version}
54
55 %description devel
56 Capplet development stuff.
57
58 %description -l pl
59 Rzeczy potrzebne do kompilacji.
60
61 %package static
62 Summary:        GNOME control-center static libraries
63 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
64 Group:          X11/Development/Libraries
65 Group(de):      X11/Entwicklung/Libraries
66 Group(pl):      X11/Programowanie/Biblioteki
67 Requires:       %{name}-devel = %{version}
68
69 %description static
70 GNOME control-center static libraries.
71
72 %description -l pl
73 Statyczne biblioteki dla centrum kontroli GNOME.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78 %patch1 -p1
79 %patch2 -p1
80 %patch3 -p1
81 %patch4 -p1
82
83 %build
84 gettextize --force --copy
85 aclocal -I macros
86 autoconf
87 automake -a -c
88 %configure 
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} DESTDIR=$RPM_BUILD_ROOT install
96
97 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
98         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop
99         
100 install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
101 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/{[!G]*,GNOME}
102
103 gzip -9nf AUTHORS ChangeLog NEWS README
104
105 %find_lang %{name} --with-gnome
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %{_sysconfdir}/CORBA/servers/*
116 %attr(755,root,root) %{_bindir}/*
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*
118
119 %{_datadir}/control-center
120 %{_applnkdir}/Settings/GNOME
121 %dir %{_datadir}/gnome/wm-properties
122 %{_pixmapsdir}/*
123
124 %files devel
125 %defattr(644,root,root,755)
126 %doc *gz
127 %attr(755,root,root) %{_libdir}/lib*.so
128 %attr(755,root,root) %{_libdir}/lib*.la
129 %attr(755,root,root) %{_libdir}/*.sh
130 %{_datadir}/idl/*
131 %{_includedir}/*
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/lib*.a
This page took 0.062498 seconds and 3 git commands to generate.