packages: paintown/paintown.spec - editor subpackage - editor-specific TODO

uzsolt uzsolt at pld-linux.org
Thu Jan 14 20:53:42 CET 2010


Author: uzsolt                       Date: Thu Jan 14 19:53:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- editor subpackage
- editor-specific TODO

---- Files affected:
packages/paintown:
   paintown.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/paintown/paintown.spec
diff -u packages/paintown/paintown.spec:1.15 packages/paintown/paintown.spec:1.16
--- packages/paintown/paintown.spec:1.15	Thu Dec  3 18:00:55 2009
+++ packages/paintown/paintown.spec	Thu Jan 14 20:53:37 2010
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 # TODO: optflags
+# TODO: editor subpackage - editor doesn't work
 Summary:	Paintown - an open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles
 Summary(hu.UTF-8):	Paintown - egy nyílt forrású verekedős játék a Streets of Rage és a Teenage Mutant Ninja Turtles nyomdokain
 Summary(pl.UTF-8):	Paintown - gra zręcznościowa podobna do Streets of Rage lub Teenage Mutants inja Turtles
@@ -12,11 +13,13 @@
 # Source0-md5:	f4c323e3fa6f2a9065923fe40b559be3
 Source1:	move_list.txt
 Source2:	%{name}.desktop
+Source3:	%{name}-editor
 Patch0:		%{name}-keyboard-fix.patch
 Patch1:		%{name}-stdio.patch
 Patch2:		%{name}-string.patch
 URL:		http://paintown.sourceforge.net
 BuildRequires:	allegro-devel >=4.1
+BuildRequires:	ant
 BuildRequires:	cmake
 BuildRequires:	dumb-devel
 BuildRequires:	freetype-devel
@@ -39,6 +42,14 @@
 Paintown jest grą zręcznościową tego samego typu co Street of Rage lub
 Teenage Mutant Ninja Turtles.
 
+%package editor
+Summary:	Paintown editor
+Group:		X11/Applications/Games
+Requires:	java-sun-jre-X11
+
+%description editor
+Paintown editor.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -57,6 +68,9 @@
 
 %{__make}
 
+cd ../editor
+ant
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
@@ -67,6 +81,9 @@
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
 
+install editor/editor.jar $RPM_BUILD_ROOT%{_datadir}/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -80,12 +97,21 @@
 %{_datadir}/%{name}/data
 %{_desktopdir}/%{name}.desktop
 
+%files editor
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}-editor
+%{_datadir}/%{name}/editor.jar
+
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2010/01/14 19:53:37  uzsolt
+- editor subpackage
+- editor-specific TODO
+
 Revision 1.15  2009/12/03 17:00:55  sparky
 - BR: libstdc++-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/paintown/paintown.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list