[521] | 1 | |
---|
| 2 | Summary: Library for client-server games |
---|
| 3 | Name: libggz |
---|
| 4 | Version: 0.0.14.1 |
---|
[8916] | 5 | Release: 4%{_dist_release} |
---|
[521] | 6 | |
---|
| 7 | License: LGPLv2+ |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://www.ggzgamingzone.org/ |
---|
| 10 | |
---|
| 11 | Source: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%{version}/libggz-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: libgcrypt-devel |
---|
| 15 | ## tls support: openssl (l)gpl compat? not sure, use gnutls for now -- Rex |
---|
| 16 | #BuildRequires: openssl-devel |
---|
| 17 | BuildRequires: gnutls-devel |
---|
| 18 | |
---|
[8916] | 19 | Patch0: libggz-0.0.14.1-gnutls3.patch |
---|
| 20 | |
---|
[521] | 21 | %description |
---|
| 22 | GGZ (which is a recursive acronym for GGZ Gaming Zone) develops libraries, |
---|
| 23 | games and game-related applications for client-server online gaming. Player |
---|
| 24 | rankings, game spectators, AI players and a chat bot are part of this effort. |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Development files for %{name} |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | %{summary}. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
[8916] | 37 | %patch0 -p0 -b .gnutls |
---|
[521] | 38 | |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %configure \ |
---|
| 42 | --disable-debug \ |
---|
| 43 | --disable-static \ |
---|
| 44 | --with-gcrypt \ |
---|
| 45 | --with-tls=GnuTLS |
---|
| 46 | |
---|
[8916] | 47 | #make %{?_smp_mflags} |
---|
| 48 | make |
---|
[521] | 49 | |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | make install DESTDIR=%{buildroot} |
---|
| 55 | |
---|
| 56 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %post -p /sbin/ldconfig |
---|
| 60 | |
---|
| 61 | %postun -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | rm -rf %{buildroot} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-,root,root,-) |
---|
| 70 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
| 71 | %{_libdir}/libggz.so.* |
---|
| 72 | |
---|
| 73 | %files devel |
---|
| 74 | %{_includedir}/ggz*.h |
---|
| 75 | %{_libdir}/libggz.so |
---|
| 76 | %{_mandir}/man3/ggz* |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[8916] | 80 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.14.1-4 |
---|
| 81 | - rebuild with VineSeed environment |
---|
| 82 | - add Patch0 (libggz-0.0.14.1-gnutls3.patch) from gentoo |
---|
| 83 | |
---|
[3336] | 84 | * Thu Apr 7 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.14.1-3vl6 |
---|
| 85 | - build on current VineSeed |
---|
| 86 | |
---|
[521] | 87 | * Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.0.14.1-2 |
---|
| 88 | - rebuild with gnutls-2.6.3 |
---|
| 89 | |
---|
| 90 | * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.14.1-1 |
---|
| 91 | - initial build for Vine Linux |
---|
| 92 | |
---|
| 93 | * Sun Feb 17 2008 Rex Dieter <rdieter@fedoraproject.org> 0.0.14.1-1 |
---|
| 94 | - ggz 0.0.14.1 |
---|
| 95 | |
---|
| 96 | * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 0.0.14-3 |
---|
| 97 | - respin (gcc43) |
---|
| 98 | |
---|
| 99 | * Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.0.14-2 |
---|
| 100 | - cleanup |
---|
| 101 | |
---|
| 102 | * Wed Sep 5 2007 Dries Verachtert <dries@ulyssis.org> - 0.0.14-1 |
---|
| 103 | - Updated to release 0.0.14. |
---|
| 104 | |
---|
| 105 | * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.0.12-1.2 |
---|
| 106 | - Rebuild for Fedora Core 5. |
---|
| 107 | |
---|
| 108 | * Sat Dec 03 2005 Dries Verachtert <dries@ulyssis.org> - 0.0.12-1 |
---|
| 109 | - Initial package. |
---|