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