SPECS (DEVEL): liquidwar6.spec - set up proper pkgdatadir (exclude version ...
lisu
lisu at pld-linux.org
Wed Jun 11 23:30:28 CEST 2008
Author: lisu Date: Wed Jun 11 21:30:28 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- set up proper pkgdatadir (exclude version number from datadir's name)
- package files
- nfy (still needs some changes)
---- Files affected:
SPECS:
liquidwar6.spec (1.17.2.2 -> 1.17.2.3)
---- Diffs:
================================================================
Index: SPECS/liquidwar6.spec
diff -u SPECS/liquidwar6.spec:1.17.2.2 SPECS/liquidwar6.spec:1.17.2.3
--- SPECS/liquidwar6.spec:1.17.2.2 Tue Jun 10 22:47:04 2008
+++ SPECS/liquidwar6.spec Wed Jun 11 23:30:23 2008
@@ -63,13 +63,14 @@
%setup -q -n %{name}-%{version}%{_beta}
%{__sed} -i -e 's#ncurses.h#ncurses/ncurses.h#' configure.ac
+find . -name Makefile.am | xargs %{__sed} -i -e 's#@PACKAGE_TARNAME at -@PACKAGE_VERSION@#@PACKAGE_TARNAME@#'
+
%build
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
-
+%configure
%{__make}
%install
@@ -78,20 +79,18 @@
%{__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 doc/html/*.html doc/txt/*.txt
-#%attr(755,root,root) %{_prefix}/games/liquidwar*
-#%attr(755,root,root) %{_bindir}/liquidwar
-#%attr(755,root,root) %{_bindir}/liquidwar-server
-#%{_datadir}/games/liquidwar
-#%{_mandir}/man*/*
-#%{_infodir}/liquidwar.info*
-#%{_desktopdir}/*.desktop
-#%{_pixmapsdir}/*
+%doc ABOUT-NLS AUTHORS ChangeLog NEWS README doc/*
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_mandir}/man6/liquidwar6.6*
+%{_infodir}/liquidwar6.info*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -99,6 +98,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17.2.3 2008-06-11 21:30:23 lisu
+- set up proper pkgdatadir (exclude version number from datadir's name)
+- package files
+- nfy (still needs some changes)
+
Revision 1.17.2.2 2008-06-10 20:47:04 lisu
- epoch
- obsolete for liquidwar
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/liquidwar6.spec?r1=1.17.2.2&r2=1.17.2.3&f=u
More information about the pld-cvs-commit
mailing list