packages: zaz/zaz.spec - up to 0.2.9 - do not try to process inexistent fil...
lisu
lisu at pld-linux.org
Fri Aug 28 16:36:06 CEST 2009
Author: lisu Date: Fri Aug 28 14:36:06 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.2.9
- do not try to process inexistent files
- internationalization
---- Files affected:
packages/zaz:
zaz.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/zaz/zaz.spec
diff -u packages/zaz/zaz.spec:1.1 packages/zaz/zaz.spec:1.2
--- packages/zaz/zaz.spec:1.1 Thu Aug 27 10:10:18 2009
+++ packages/zaz/zaz.spec Fri Aug 28 16:36:01 2009
@@ -2,12 +2,12 @@
Summary: An arcade action puzzle game
Summary(pl.UTF-8): Zręcznościowa gra logiczna
Name: zaz
-Version: 0.2.8
+Version: 0.2.9
Release: 1
License: GPL v3+
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/zaz/%{name}-%{version}.tar.gz
-# Source0-md5: 7509cf2b777ffedf92e801c5d4c5fff0
+# Source0-md5: 74dca44e4d1d9956d551f17759e80a38
Patch0: %{name}-desktop.patch
Patch1: %{name}-usless_files.patch
URL: http://zaz.sourceforge.net/
@@ -21,6 +21,8 @@
BuildRequires: libogg-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,6 +40,10 @@
%patch0 -p1
%patch1 -p1
+# inexistent files
+%{__sed} -i '/mus5.ogg/d' data/Makefile.am
+%{__sed} -i '/levels.list/d' data/Makefile.am
+
%build
%{__aclocal}
%{__autoconf}
@@ -52,10 +58,12 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name} --all-name
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog
%attr(755,root,root) %{_bindir}/zaz
@@ -69,6 +77,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/08/28 14:36:01 lisu
+- up to 0.2.9
+- do not try to process inexistent files
+- internationalization
+
Revision 1.1 2009/08/27 08:10:18 lisu
- new spec file
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/zaz/zaz.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list