]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
1.4.0.1
[packages/control-center.git] / control-center.spec
index 139955f85833f8f1d17da6bdf253d624d822094c..a41c53f2f72d3e35f9c264b2985d793ad92a1461 100644 (file)
@@ -1,57 +1,53 @@
 Summary:       GNOME control center
 Summary(pl):   Centrum kontroli GNOME
 Name:          control-center
-Version:       1.0.51
+Version:       1.4.0.1
 Release:       1
-Copyright:     LGPL
-Group:         X11/Libraries
-Group(pl):     X11/Biblioteki
-Source:                ftp://ftp.gnome.org/pub/GNOME/source/control-center/%{name}-%{version}.tar.gz
-Patch0:                control-center-nosound.patch
-Patch1:                control-center-esdrelease.patch
-Patch2:                control-center-bgcolor1.patch
-Patch3:                control-center-fsbgpath.patch
-Patch4:                control-center-dontstartesd.patch
-Patch5:                control-center-limitedbgs.patch
-Patch6:                control-center-smfixtry.patch
-Patch7:                control-center-numwallpapers.patch
-Patch8:                control-center-automake.patch
-Patch9:                control-center-applnk.patch
+Epoch:         1
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
+Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
+Patch0:                %{name}-macros.patch
+Patch1:                %{name}-applnk.patch
 Icon:          control-center.gif
-Requires:      xscreensaver >= 2.34
-BuildRequires: gtk+-devel >= 1.1.16
+BuildRequires: ORBit-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: esound-devel >= 0.2.5
+BuildRequires: gdk-pixbuf-devel >= 0.7.0
+BuildRequires: gnome-libs-devel >= 1.2.12-3
+BuildRequires: gtk+-devel >= 1.1.16
 BuildRequires: imlib-devel >= 1.8.2
-BuildRequires: gnome-libs-devel
-BuildRequires: ORBit-devel
-BuildRequires: XFree86-devel
 BuildRequires: zlib-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: gettext-devel
+BuildRequires: xml-i18n-tools
+BuildRequires: findutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     gnome
 
 %define                _prefix         /usr/X11R6
 %define                _sysconfdir     /etc/X11/GNOME
-%define                _applnkdir      %{_datadir}/applnk
 
 %description
 A Configuration tool for easily setting up your GNOME environment.
-
-GNOME is the GNU Network Object Model Environment. That's a fancy name but
-really GNOME is a nice GUI desktop environment. It makes using your computer
-easy, powerful, and easy to configure.
+GNOME is the GNU Network Object Model Environment. That's a fancy name
+but really GNOME is a nice GUI desktop environment. It makes using
+your computer easy, powerful, and easy to configure.
 
 %description -l pl
-Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME.
-
-GNOME to Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
-Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci jest to
-mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest proste, wydajne
-i ³atwe w konfiguracji.
+Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
+Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
+Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
+jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
+proste, wydajne i ³atwe w konfiguracji.
 
 %package devel
 Summary:       GNOME control-center includes
 Summary(pl):   Pliki nag³ówkowe centrum kontroli GNOME
 Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
 Group(pl):     X11/Programowanie/Biblioteki
 Requires:      %{name} = %{version}
 
@@ -65,6 +61,7 @@ Rzeczy potrzebne do kompilacji.
 Summary:       GNOME control-center static libraries
 Summary(pl):   Statyczne biblioteki dla centrum kontroli GNOME
 Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
 Group(pl):     X11/Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
@@ -72,39 +69,43 @@ Requires:   %{name}-devel = %{version}
 GNOME control-center static libraries.
 
 %description -l pl
-Statyczne biblioteki dla centrum kontroli GNOME
+Statyczne biblioteki dla centrum kontroli GNOME.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
 
 %build
-gettextize --force --copy
-automake
-LDFLAGS="-s"; export LDFLAGS 
+rm missing
+gettextize --copy --force
+xml-i18n-toolize --copy --force
+automake -a -c
+aclocal -I macros
+autoconf
 %configure 
 
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make DESTDIR=$RPM_BUILD_ROOT install
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
+       $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
+       $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
+       
+mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/*.desktop \
+      $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
+cp    $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/*.desktop \
+      $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs | rm -f
 
 gzip -9nf AUTHORS ChangeLog NEWS README
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -113,16 +114,15 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
-
 %defattr(644,root,root,755)
 %{_sysconfdir}/CORBA/servers/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %{_datadir}/control-center
-%{_applnkdir}/Settings
+%{_applnkdir}/Settings/GNOME
 %dir %{_datadir}/gnome/wm-properties
-%{_datadir}/pixmaps/*
+%{_pixmapsdir}/*
 
 %files devel
 %defattr(644,root,root,755)
@@ -131,7 +131,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*.la
 %attr(755,root,root) %{_libdir}/*.sh
 %{_datadir}/idl/*
+%{_datadir}/omf/*
 %{_includedir}/*
 
 %files static
-%attr(644,root,root) %{_libdir}/lib*.a
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.029104 seconds and 4 git commands to generate.