]> git.pld-linux.org Git - packages/gnome-games.git/blobdiff - gnome-games.spec
- 2.4.2
[packages/gnome-games.git] / gnome-games.spec
index b9809b91d47bee83ac6b2223d825c9e147c3b24f..824ef67b24f7e405e9f35765d43b0d49a15d9359 100644 (file)
@@ -6,26 +6,34 @@ Summary(ru):  
 Summary(uk):   ¶ÇÒɠЦĠGNOME
 Summary(wa):   Djeus po GNOME
 Name:          gnome-games
-Version:       2.1.1
-Release:       1
+Version:       2.4.2
+Release:       2
 Epoch:         1
 License:       LGPL
 Group:         X11/Applications/Games
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
-Patch0:                %{name}-makefile.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5: ce45ec6f0a3180b096ebb2c7dc6c69a5
+Patch0:                %{name}-schemas.patch
+Icon:          gnome-games.gif
+URL:           http://www.gnome.org/
+BuildRequires: GConf2-devel >= 2.4.0
+BuildRequires: gnome-vfs2-devel >= 2.4.0
+BuildRequires: guile-devel >= 1.4.1
+BuildRequires: libgnome-devel >= 2.4.0
+BuildRequires: libgnomeui-devel >= 2.4.0
 BuildRequires: libltdl-devel
 BuildRequires: libstdc++-devel
 BuildRequires: scrollkeeper
-PreReq:                scrollkeeper
-URL:           http://www.gnome.org/
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     gnome
+BuildRequires: rpm-build >= 4.1-10
+Requires(post):        GConf2
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): scrollkeeper
+Requires:      gnome-vfs2 >= 2.4.0
 Obsoletes:     gnect
+Obsoletes:     gnome
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _sysconfdir     /etc/X11/GNOME2
 %define                _localstatedir  /var
-%define                _omf_dest_dir   %(scrollkeeper-config --omfdir)
 
 %description
 GNOME games.
@@ -55,8 +63,8 @@ Summary(pl):  Pliki nag
 Summary(ru):   æÁÊÌÙ ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME
 Summary(uk):   æÁÊÌÉ ÒÏÚÒÏÂËÉ ¦ÇҠЦĠGNOME
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      gtk+2-devel
+Requires:      %{name} = %{epoch}:%{version}
+Requires:      gtk+2-devel >= 2.2.4
 
 %description devel
 GNOME games libraries - header files.
@@ -78,7 +86,7 @@ Pliki nag
 Summary:       GNOME games static libraries
 Summary(pl):   Biblioteki statyczne do GNOME games
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{epoch}:%{version}
 
 %description static
 GNOME games static libraries.
@@ -92,7 +100,6 @@ Biblioteki statyczne do GNOME games.
 
 %build
 %configure
-
 %{__make}
 
 %install
@@ -100,39 +107,36 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       omf_dest_dir=%{_omf_dest_dir}/%{name}
+       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
 %find_lang %{name} --with-gnome --all-name
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 /sbin/ldconfig
-GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" \
-%{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
 /usr/bin/scrollkeeper-update
+%gconf_schema_install
 
 %postun
 /sbin/ldconfig
 /usr/bin/scrollkeeper-update
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %config %{_sysconfdir}/sound/events/*
 %{_sysconfdir}/gconf/schemas/*
 
-%attr(755,root,root) %{_bindir}/ctali
-%attr(755,root,root) %{_bindir}/freecell
 %attr(755,root,root) %{_bindir}/gataxx
 %attr(755,root,root) %{_bindir}/sol
+%attr(755,root,root) %{_bindir}/gnect
+%attr(755,root,root) %{_bindir}/gnibbles
+%attr(755,root,root) %{_bindir}/gnobots2
+%attr(755,root,root) %{_bindir}/blackjack
 %attr(2755,root,games) %{_bindir}/glines
-%attr(2755,root,games) %{_bindir}/gnect
-%attr(2755,root,games) %{_bindir}/gnibbles
-%attr(2755,root,games) %{_bindir}/gnobots2
 %attr(2755,root,games) %{_bindir}/gnome-stones
-%attr(2755,root,games) %{_bindir}/gnome-xbill
 %attr(2755,root,games) %{_bindir}/gnometris
 %attr(2755,root,games) %{_bindir}/gnomine
 %attr(2755,root,games) %{_bindir}/gnotravex
@@ -146,13 +150,11 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/gnome-stones
 %dir %{_libdir}/gnome-stones/objects
 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
-%attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.la
+%{_libdir}/gnome-stones/objects/lib*.la
 
-%{_datadir}/gnibbles
-%{_datadir}/gnobots2
 %{_datadir}/gnome-stones
 %{_datadir}/sol-games
-%{_datadir}/xbill
+%{_datadir}/blackjack
 
 %{_datadir}/gnome-stonesrc
 %lang(ko) %{_datadir}/gnome-stonesrc.ko
@@ -160,8 +162,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mime-info/*
 %{_pixmapsdir}/*
 %{_datadir}/sounds/*
-%{_datadir}/applications/*
+%{_desktopdir}/*
 %{_datadir}/gnect
+%{_datadir}/gnibbles
+%{_datadir}/gnobots2
 
 %{_omf_dest_dir}/%{name}
 %attr(664,root,games) %ghost %{_localstatedir}/games/*
@@ -169,7 +173,7 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/*
 
 %files static
This page took 0.045183 seconds and 4 git commands to generate.