]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
2f58f4413fb46091c04d3708bbf8ca289b59045c
[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.4
5 Release:        2
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 >= 0.7.0
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 Obsoletes:      xcsreensaver-gnome
31
32 %define         _prefix         /usr/X11R6
33 %define         _sysconfdir     /etc/X11/GNOME
34
35 %description
36 A Configuration tool for easily setting up your GNOME environment.
37 GNOME is the GNU Network Object Model Environment. That's a fancy name
38 but really GNOME is a nice GUI desktop environment. It makes using
39 your computer easy, powerful, and easy to configure.
40
41 %description -l pl
42 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
43 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
44 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
45 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
46 proste, wydajne 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(de):      X11/Entwicklung/Libraries
53 Group(pl):      X11/Programowanie/Biblioteki
54 Requires:       %{name} = %{version}
55
56 %description devel
57 Capplet development stuff.
58
59 %description -l pl
60 Rzeczy potrzebne do kompilacji.
61
62 %package static
63 Summary:        GNOME control-center static libraries
64 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
65 Group:          X11/Development/Libraries
66 Group(de):      X11/Entwicklung/Libraries
67 Group(pl):      X11/Programowanie/Biblioteki
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 GNOME control-center static libraries.
72
73 %description -l pl
74 Statyczne biblioteki dla centrum kontroli GNOME.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79 %patch1 -p1
80 %patch2 -p1
81 %patch3 -p1
82 %patch4 -p1
83
84 %build
85 gettextize --force --copy
86 aclocal -I macros
87 autoconf
88 automake -a -c
89 %configure 
90
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} DESTDIR=$RPM_BUILD_ROOT install
97
98 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
99         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
100         $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
101         
102 install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
103 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/{[!G]*,GNOME}
104
105 gzip -9nf AUTHORS ChangeLog NEWS README
106
107 %find_lang %{name} --with-gnome
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %{_sysconfdir}/CORBA/servers/*
118 %attr(755,root,root) %{_bindir}/*
119 %attr(755,root,root) %{_libdir}/lib*.so.*.*
120
121 %{_datadir}/control-center
122 %{_applnkdir}/Settings/GNOME
123 %dir %{_datadir}/gnome/wm-properties
124 %{_pixmapsdir}/*
125
126 %files devel
127 %defattr(644,root,root,755)
128 %doc *gz
129 %attr(755,root,root) %{_libdir}/lib*.so
130 %attr(755,root,root) %{_libdir}/lib*.la
131 %attr(755,root,root) %{_libdir}/*.sh
132 %{_datadir}/idl/*
133 %{_includedir}/*
134
135 %files static
136 %defattr(644,root,root,755)
137 %{_libdir}/lib*.a
This page took 0.080514 seconds and 2 git commands to generate.