SPECS (DEVEL): lgeneral.spec - fix datadir paths - include more fi...
lisu
lisu at pld-linux.org
Thu Oct 11 19:26:00 CEST 2007
Author: lisu Date: Thu Oct 11 17:26:00 2007 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- fix datadir paths
- include more files
- use find_lang macro
---- Files affected:
SPECS:
lgeneral.spec (1.19.2.1 -> 1.19.2.2)
---- Diffs:
================================================================
Index: SPECS/lgeneral.spec
diff -u SPECS/lgeneral.spec:1.19.2.1 SPECS/lgeneral.spec:1.19.2.2
--- SPECS/lgeneral.spec:1.19.2.1 Thu Oct 11 00:22:57 2007
+++ SPECS/lgeneral.spec Thu Oct 11 19:25:55 2007
@@ -36,7 +36,7 @@
%prep
%setup -q -n %{name}-%{version}%{_beta}
-%{__sed} -i 's@$datadir/games/lgeneral@$datadir/lgeneral@' configure.in
+%{__sed} -i 's at games/@@' {configure.in,src/misc.c,lgc-pg/misc.c}
%build
%configure
@@ -55,30 +55,18 @@
install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+%find_lang %{name} --all-name
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README.lgeneral TODO
+%doc AUTHORS ChangeLog README.lg* TODO
%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/ai_modules
-%dir %{_datadir}/%{name}/campaigns
-%dir %{_datadir}/%{name}/gfx
-%dir %{_datadir}/%{name}/gfx/flags
-%dir %{_datadir}/%{name}/gfx/terrain
-%dir %{_datadir}/%{name}/gfx/units
-%{_datadir}/%{name}/gfx/*.bmp
-%dir %{_datadir}/%{name}/maps
-%dir %{_datadir}/%{name}/music
-%dir %{_datadir}/%{name}/nations
-%dir %{_datadir}/%{name}/scenarios
-%dir %{_datadir}/%{name}/sounds
-%dir %{_datadir}/%{name}/themes
-%{_datadir}/%{name}/themes/*
-%dir %{_datadir}/%{name}/units
+%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
+%{_mandir}/man[16]/*.*.gz
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -86,6 +74,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19.2.2 2007/10/11 17:25:55 lisu
+- fix datadir paths
+- include more files
+- use find_lang macro
+
Revision 1.19.2.1 2007/10/10 22:22:57 lisu
- up to 1.2beta-13 version
- add new Source with game datafiles
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lgeneral.spec?r1=1.19.2.1&r2=1.19.2.2&f=u
More information about the pld-cvs-commit
mailing list