]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- updated to 1.2.2.
[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.2
5 Release:        1
6 License:        GPL
7 Group:          X11/GNOME
8 Group(de):      X11/GNOME
9 Group(pl):      X11/GNOME
10 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-nosound.patch
12 Patch1:         %{name}-esdrelease.patch
13 Patch2:         %{name}-bgcolor1.patch
14 Patch3:         %{name}-fsbgpath.patch
15 Patch4:         %{name}-dontstartesd.patch
16 Patch5:         %{name}-limitedbgs.patch
17 Patch6:         %{name}-applnk.patch
18 Icon:           control-center.gif
19 Requires:       xscreensaver >= 2.34
20 BuildRequires:  ORBit-devel
21 BuildRequires:  automake
22 BuildRequires:  esound-devel >= 0.2.5
23 BuildRequires:  gnome-libs-devel
24 BuildRequires:  gtk+-devel >= 1.1.16
25 BuildRequires:  imlib-devel >= 1.8.2
26 BuildRequires:  zlib-devel
27 BuildRequires:  gdk-pixbuf-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 #%patch5 -p1
83 %patch6 -p1
84
85 %build
86 gettextize --force --copy
87 automake
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 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
101
102 gzip -9nf AUTHORS ChangeLog NEWS README
103
104 %find_lang %{name} --with-gnome
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post   -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %{_sysconfdir}/CORBA/servers/*
115 %attr(755,root,root) %{_bindir}/*
116 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117
118 %{_datadir}/control-center
119 %{_applnkdir}/Settings
120 %dir %{_datadir}/gnome/wm-properties
121 %{_datadir}/pixmaps/*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %doc *gz
126 %attr(755,root,root) %{_libdir}/lib*.so
127 %attr(755,root,root) %{_libdir}/lib*.la
128 %attr(755,root,root) %{_libdir}/*.sh
129 %{_datadir}/idl/*
130 %{_includedir}/*
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/lib*.a
This page took 0.064604 seconds and 3 git commands to generate.