Package ggz-base-libs: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | Group: System/Libraries # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Summary: Base libraries for GGZ gaming zone Name: ggz-base-libs Version: 0.99.5 Release: alt3_22.qa1 License: LGPLv2+ and GPLv2+ URL: http://www.ggzgamingzone.org/ #Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%{version}/ggz-base-libs-snapshot-%{version}.tar.gz Source0: http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/ggz-base-libs-snapshot-%{version}.tar.gz # upstreamable patches, fix --with-tls=NSS # https://bugs.ggzgamingzone.org/mantis/view.php?id=114 Patch50: ggz-base-libs-snapshot-0.99.5-tls_nss3.patch Obsoletes: libggz < 1:0.99.5 Provides: libggz = 1:%{version}-%{release} Obsoletes: ggz-client-libs < 1:0.99.5 Provides: ggz-client-libs = 1:%{version}-%{release} Source1: ggz.modules # see http://fedoraproject.org/wiki/PackagingDrafts/GGZ Source2: macros.ggz BuildRequires: libexpat-devel BuildRequires: gettext gettext-tools BuildRequires: gcrypt-utils libgcrypt-devel BuildRequires: libnss-devel libnss-devel-static Source44: import.info %description GGZ (which is a recursive acronym for GGZ Gaming Zone) develops libraries, games and game-related applications for client-server online gaming. Player rankings, game spectators, AI players and a chat bot are part of this effort. %package devel Group: Development/C Summary: Development files for %{name} Obsoletes: libggz-devel < 1:0.99.5 Obsoletes: ggz-client-libs-devel < 1:0.99.5 Provides: libggz-devel = 1:%{version}-%{release} Provides: ggz-client-libs-devel = 1:%{version}-%{release} Requires: %{name} = %{version}-%{release} Requires: pkg-config Requires: rpm-macros-%{name} = %{version}-%{release} # %{_sysconfdir}/rpm ownership %description devel %{summary}. %package -n rpm-macros-%{name} Summary: Set of RPM macros for packaging %name-based applications Group: Development/Other # uncomment if macroses are platform-neutral #BuildArch: noarch # helps old apt to resolve file conflict at dist-upgrade (thanks to Stanislav Ievlev) Conflicts: ggz-base-libs-devel <= 0.99.5-alt3_22 %description -n rpm-macros-%{name} Set of RPM macros for packaging %name-based applications for ALT Linux. Install this package if you want to create RPM packages that use %name. %prep %setup -q -n %{name}-snapshot-%{version} %patch50 -p1 -b .tls_nss3 %if 0 # some auto*/libtool love to quash rpaths rm -f m4/libtool.m4 m4/lt* #libtoolize -f --automake #aclocal -Im4 autoreconf -i -f %else # avoid lib64 rpaths, quick-n-dirty %if "%{_libdir}" != "/usr/lib" sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %endif %endif %build %configure \ --disable-debug \ --disable-static \ --with-gcrypt \ --with-tls=NSS %make_build %install make install DESTDIR=%{buildroot} # GGZCONFDIR stuff install -D -m644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/ggz.modules mkdir -p %{buildroot}%{_sysconfdir}/ggz.modules.d # GGZDATADIR mkdir -p %{buildroot}%{_datadir}/ggz # GGZGAMEDIR mkdir -p %{buildroot}%{_libdir}/ggz # RPM macros install -D -m644 -p %{SOURCE2} %{buildroot}%{_rpmmacrosdir}/ggz %find_lang ggzcore_snapshot-%{version} %find_lang ggz-config cat ggz*.lang >> all.lang # unpackaged files rm -f %{buildroot}%{_libdir}/lib*.la %check make check ||: %files -f all.lang %doc AUTHORS ChangeLog COPYING NEWS README %verify(not size md5 mtime) %config(noreplace) %{_sysconfdir}/ggz.modules %dir %{_sysconfdir}/ggz.modules.d # GPLv2+ %{_bindir}/ggz-config %dir %{_datadir}/ggz %dir %{_libdir}/ggz %{_libdir}/libggzmod.so.4* %{_mandir}/man5/ggz.modules.5* # LGPLv2+ %{_libdir}/libggz.so.2* %{_libdir}/libggzcore.so.9* %{_mandir}/man6/ggz* %{_mandir}/man7/ggz* %{_sysconfdir}/xdg/menus/applications-merged/ggz.merge.menu %{_sysconfdir}/xdg/menus/ggz.menu %{_datadir}/desktop-directories/ggz*.directory %files devel #%_rpmmacrosdir/ggz # GPLv2+ %{_includedir}/ggzmod.h %{_libdir}/libggzmod.so %{_libdir}/pkgconfig/ggzmod.pc %{_mandir}/man3/ggzmod_h.3* # LGPLv2+ %{_includedir}/ggz.h %{_includedir}/ggz_*.h %{_libdir}/libggz.so %{_libdir}/pkgconfig/libggz.pc %{_mandir}/man3/ggz* %{_includedir}/ggzcore.h %{_libdir}/libggzcore.so %{_libdir}/pkgconfig/ggzcore.pc %{_mandir}/man3/ggzcore_h.3* %exclude %_rpmmacrosdir/* %files -n rpm-macros-%{name} %_rpmmacrosdir/* %changelog * Thu Jul 12 2018 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_22.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * altlinux-policy-rpm-macros-packaging for ggz-base-libs-devel * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_22 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_20 - update to new release by fcimport * Tue Jul 26 2016 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_19 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_18 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_17 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_16 - update to new release by fcimport * Thu Jun 05 2014 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_15 - converted for ALT Linux by srpmconvert tools * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_13 - update to new release by fcimport * Mon Apr 22 2013 Repocop Q. A. Robot <repocop@altlinux.org> 0.99.5-alt3_12.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * altlinux-policy-rpm-macros-packaging-rpm4 for ggz-base-libs-devel * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_12 - update to new release by fcimport * Tue Sep 04 2012 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt3_11 - applied repocop patches * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt2_11 - update to new release by fcimport * Wed Mar 21 2012 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt2_10 - rebuild to get rid of #27020 * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt1_10 - update to new release by fcimport * Fri Aug 26 2011 Igor Vlasenko <viy@altlinux.ru> 0.99.5-alt1_8 - initial release by fcimport |