]> git.pld-linux.org Git - packages/gnome-games.git/blobdiff - gnome-games.spec
- typo in sound files path.
[packages/gnome-games.git] / gnome-games.spec
index c1085d17c11fb7eb3d27409187e6d2a0fa8c79cf..fc90d98982e928e65179c468fe27f84b871b8fba 100644 (file)
@@ -1,18 +1,33 @@
-Summary:     GNOME games
-Summary(pl): GNOME - Gry
-Name:        gnome-games
-Version:     0.99.1
-Release:     1
-Copyright:   LGPL
-Group:       X11/Libraries
-Source:      ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
-Patch0:      gnome-games-DESTDIR.patch
-Icon:        gnome-games.gif
-Requires:    gnome-libs = 0.99.2, ORBit = 0.3.91, libaudiofile = 0.1.5
-Requires:    glib = 1.1.12, gtk+ = 1.1.12, guile = 1.3, esound = 0.2.7
-URL:         http://www.gnome.org
+Summary:       GNOME games
+Summary(es):   Juegos de GNOME
+Summary(fr):   Jeux pour GNOME
+Summary(pl):   GNOME - Gry
+Summary(wa):   Djeus po GNOME
+Name:          gnome-games
+Version:       1.0.51
+Release:       6
+Copyright:     LGPL
+Group:         X11/GNOME
+Group(pl):     X11/GNOME
+Source:                ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-games/%{name}-%{version}.tar.gz
+Patch:         gnome-games-applnk.patch
+Icon:          gnome-games.gif
+BuildRequires: gnome-libs-devel >= 1.0.0
+BuildRequires: ORBit >= 0.4.3
+BuildRequires: audiofile-devel >= 0.1.5
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: guile-devel >= 1.3
+BuildRequires: esound-devel >= 0.2.7
+BuildRequires: readline-devel
+BuildRequires: ncurses-devel >= 5.0
+URL:           http://www.gnome.org/
 BuildRoot:     /tmp/%{name}-%{version}-root
-Obsoletes:   gnome
+Obsoletes:     gnome
+
+%define                _prefix         /usr/X11R6
+%define                _sysconfdir     /etc/X11/GNOME
+%define                _localstatedir  /var
+%define                _applnkdir      %{_datadir}/applnk
 
 %description
 GNOME games.
@@ -25,10 +40,12 @@ using your computer easy, powerful, and easy to configure.
 Gry pod GNOME.
 
 %package devel
-Summary:     GNOME games libraries - header files
-Summary(pl): Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
-Group:       X11/Libraries
-Requires:    %{name} = %{version}
+Summary:       GNOME games libraries - header files
+Summary(pl):   Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
+Group:         X11/GNOME/Development/Libraries
+Group(pl):     X11/GNOME/Programowanie/Biblioteki
+Requires:      %{name} = %{version}
+Requires:      gtk+-devel
 
 %description devel
 GNOME games libraries - header files.
@@ -39,10 +56,11 @@ Right now this is just stuff to develop care games. I think.
 Pliki nag³ówkowedo tworzenia programów opartych o GNOME games.
 
 %package static
-Summary:     GNOME games static libraries
-Summary(pl): Biblioteki statyczne do GNOME games
-Group:       X11/Libraries
-Requires:    %{name}-devel = %{version}
+Summary:       GNOME games static libraries
+Summary(pl):   Biblioteki statyczne do GNOME games
+Group:         X11/GNOME/Development/Libraries
+Group(pl):     X11/GNOME/Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
 
 %description static
 GNOME games static libraries.
@@ -52,23 +70,28 @@ Biblioteki statyczne do GNOME games
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
-       --prefix=/usr/X11R6 \
-       --sysconfdir=/etc/GNOME \
-       --localstatedir=/var
+gettextize --copy --force
+automake
+autoconf
+LDFLAGS="-s"; export LDFLAGS
+%configure 
 
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make DESTDIR=$RPM_BUILD_ROOT install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.* \
+       $RPM_BUILD_ROOT%{_libdir}/gnome-stones/objects/lib*.so*
+
+gzip -9nf AUTHORS ChangeLog NEWS README
 
-strip $RPM_BUILD_ROOT/usr/X11R6/{bin/*,lib/lib*so.*.*}
+%find_lang %{name}
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -76,86 +99,79 @@ strip $RPM_BUILD_ROOT/usr/X11R6/{bin/*,lib/lib*so.*.*}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%config /etc/GNOME/sound/events/*
-
-%attr(755,root,  root) /usr/X11R6/bin/GnomeScott
-%attr(755,root,  root) /usr/X11R6/bin/cyahtzee
-%attr(755,root,  root) /usr/X11R6/bin/freecell
-%attr(755,root,  root) /usr/X11R6/bin/sol
-%attr(2755, games, games) /usr/X11R6/bin/gnobots
-%attr(2755, games, games) /usr/X11R6/bin/gnome-stones
-%attr(2755, games, games) /usr/X11R6/bin/gnomine
-%attr(2755, games, games) /usr/X11R6/bin/gnothello
-%attr(2755, games, games) /usr/X11R6/bin/gnotravex
-%attr(2755, games, games) /usr/X11R6/bin/gturing
-%attr(2755, games, games) /usr/X11R6/bin/gyahtzee
-%attr(2755, games, games) /usr/X11R6/bin/mahjongg
-%attr(2755, games, games) /usr/X11R6/bin/same-gnome
-
-%attr(755,root,  root) /usr/X11R6/lib/lib*.so.*.*
-
-/usr/X11R6/share/pixmaps/*
-/usr/X11R6/share/sol-games
-/usr/X11R6/share/apps/Games/*
-/usr/X11R6/share/gnome/help/*
-
-%lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/gnome-games.mo
-%lang(da) /usr/X11R6/share/locale/da/LC_MESSAGES/gnome-games.mo
-%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/gnome-games.mo
-%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/gnome-games.mo
-%lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/gnome-games.mo
-%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/gnome-games.mo
-%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/gnome-games.mo
-%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/gnome-games.mo
-%lang(ja) /usr/X11R6/share/locale/ja/LC_MESSAGES/gnome-games.mo
-%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/gnome-games.mo
-%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/gnome-games.mo
-%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/gnome-games.mo
-%lang(pl) /usr/X11R6/share/locale/pl/LC_MESSAGES/gnome-games.mo
-
-%attr(664, games, games) /var/games/*
+%doc AUTHORS.gz ChangeLog.gz NEWS.gz README.gz
+%config %{_sysconfdir}/sound/events/*
+
+%attr(755,root,root) %{_bindir}/GnomeScott
+%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(2755,root,games) %{_bindir}/glines
+%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
+%attr(2755,root,games) %{_bindir}/gtali
+%attr(2755,root,games) %{_bindir}/gturing
+%attr(2755,root,games) %{_bindir}/iagno
+%attr(2755,root,games) %{_bindir}/mahjongg
+%attr(2755,root,games) %{_bindir}/same-gnome
+
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%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
+
+%{_datadir}/gnibbles
+%{_datadir}/gnobots2
+%{_datadir}/gnome-stones
+%{_datadir}/gturing
+%{_datadir}/sol-games
+%{_datadir}/xbill
+
+%{_datadir}/mime-info/*
+%{_datadir}/pixmaps/*
+%{_datadir}/sounds/*
+
+%{_datadir}/gnome-stonesrc
+%lang(ko) %{_datadir}/gnome-stonesrc.ko
+
+%{_applnkdir}/Games/*.desktop
+
+%dir %{_datadir}/gnome/help/aisleriot
+%{_datadir}/gnome/help/aisleriot/C
+
+%dir %{_datadir}/gnome/help/gnobots2
+%{_datadir}/gnome/help/gnobots2/C
+%lang(es) %{_datadir}/gnome/help/gnobots2/es
+%lang(it) %{_datadir}/gnome/help/gnobots2/it
+
+%dir %{_datadir}/gnome/help/gtali
+%{_datadir}/gnome/help/gtali/C
+
+%dir %{_datadir}/gnome/help/gturing
+%{_datadir}/gnome/help/gturing/C
+
+%dir %{_datadir}/gnome/help/samegnome
+%{_datadir}/gnome/help/samegnome/C
+
+%attr(664,root,games) %{_localstatedir}/games/*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(0755,root,  root) /usr/X11R6/lib/lib*.so
-/usr/X11R6/include/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so
+%{_includedir}/*
 
 %files static
-%attr(664,root,root) /usr/X11R6/lib/lib*.a
-
-%changelog
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.99.1-1]
-- added LDFLAGS="-s" to ./configure enviroment,
-- added more Requires,
-- changed permission to %attr(2755, games, games) on some
-  executables and to %attr(664, games, games) on game score
-  files (/var/games/*),
-- more locales (fi, pl).
-
-* Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.27-3]
-- added package Icon,
-- changed prefix to /usr/X11R6.
-
-* Mon Aug 31 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.27-2]
-- added pl translation.
-
-* Mon Aug 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.27-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added static subpackage,
-- changed dependencies to "Requires: %%{name} = %%{version}" in devel
-  subpackage,
-- added %post{un} with runing /sbin/ldconfig,
-- added "Requires: gnome-libs >= %%{version}" to main package,
-- added stripping shared libraries.
-
-* Mon Mar 16 1998 Marc Ewing <marc@redhat.com>
-- Integrate into gnome-games CVS source tree
+%defattr(664,root,root,755)
+%{_libdir}/lib*.a
+%{_libdir}/gnome-stones/objects/lib*.a
This page took 0.068687 seconds and 4 git commands to generate.