]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
dd0e5c2d4d2d53049e58d0c2bedb2f127a99a490
[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.0.40
5 Release:        1
6 Copyright:      LGPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source:         ftp://ftp.gnome.org/pub/GNOME/source/%{name}-%{version}.tar.gz
10 Patch0:         control-center-nosound.patch
11 Patch1:         control-center-esdrelease.patch
12 Patch2:         control-center-bgcolor1.patch
13 Patch3:         control-center-fsbgpath.patch
14 Patch4:         control-center-dontstartesd.patch
15 Patch5:         control-center-limitedbgs.patch
16 Patch6:         control-center-smfixtry.patch
17 Patch7: control-center-numwallpapers.patch
18 Icon:           control-center.gif
19 Requires:       xscreensaver >= 2.34
20 BuildRequires:  gtk+-devel >= 1.1.16
21 BuildRequires:  esound-devel >= 0.2.5
22 BuildRequires:  imlib-devel >= 1.8.2
23 BuildRequires:  gnome-libs-devel
24 BuildRequires:  ORBit-devel
25 BuildRequires:  XFree86-devel
26 BuildRequires:  zlib-devel
27 BuildRoot:      /tmp/%{name}-%{version}-root
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
36 GNOME is the GNU Network Object Model Environment. That's a fancy name but
37 really GNOME is a nice GUI desktop environment. It makes using your computer
38 easy, powerful, and easy to configure.
39
40 %description -l pl
41 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME.
42
43 GNOME to Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
44 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci jest to
45 mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest proste, wydajne
46 i ³atwe w konfiguracji.
47
48 %package devel
49 Summary:        GNOME control-center includes
50 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
51 Group:          X11/Development/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(pl):      X11/Programowanie/Biblioteki
66 Requires:       %{name}-devel = %{version}
67
68 %description static
69 GNOME control-center static libraries.
70
71 %description -l pl
72 Statyczne biblioteki dla centrum kontroli GNOME
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78 %patch2 -p1
79 %patch3 -p1
80 %patch4 -p1
81 %patch5 -p1
82 %patch6 -p1
83 %patch7 -p1
84
85 %build
86 gettextize --force --copy
87 LDFLAGS="-s"; export LDFLAGS 
88 %configure 
89
90 make
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 make DESTDIR=$RPM_BUILD_ROOT install
96
97 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
98
99 gzip -9nf AUTHORS ChangeLog NEWS README
100
101 %find_lang %{name}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files -f %{name}.lang
110
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 %{_datadir}/gnome/apps/Settings
118 %{_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 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.036955 seconds and 2 git commands to generate.