[megaglest-data] Initial import (#828544)

pcpa pcpa at fedoraproject.org
Thu Aug 2 23:33:46 UTC 2012


commit 8808fb825aa9166342148898b1967d2e1ede02b0
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date:   Thu Aug 2 20:33:33 2012 -0400

    Initial import (#828544)

 .gitignore          |    1 +
 megaglest-data.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..81b670a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/megaglest-data-3.6.0.3.tar.xz
diff --git a/megaglest-data.spec b/megaglest-data.spec
new file mode 100644
index 0000000..7a230c7
--- /dev/null
+++ b/megaglest-data.spec
@@ -0,0 +1,59 @@
+Name:		megaglest-data
+Version:	3.6.0.3
+Release:	3%{?dist}
+Summary:	Mega Glest data files
+License:	CC-BY-SA
+Group:		Amusements/Games
+Url:		http://megaglest.org/
+Source0:	http://downloads.sourceforge.net/project/megaglest/megaglest_%{version}/%{name}-%{version}.tar.xz
+BuildArch:	noarch
+BuildRequires:	cmake
+
+%description
+MegaGlest is an open source 3D-real-time strategy game, where you control
+the armies of one of seven different factions: Tech, Magic, Egyptians,
+Indians, Norsemen, Persian or Romans. The game is setup in one of 16
+naturally looking settings, which -like the unit models- are crafted with
+great appreciation for detail. Additional game data can be downloaded from
+within the game at no cost.
+
+%prep
+%setup -q -n megaglest-%{version}
+
+%build
+mkdir -p build
+pushd build
+    %cmake								\
+	-DMEGAGLEST_ICON_INSTALL_PATH=%{_iconsdir}			\
+	..
+    make %{?_smp_mflags}
+popd
+
+%install
+make install DESTDIR=${RPM_BUILD_ROOT} -C build
+rm -fr ${RPM_BUILD_ROOT}%{_datadir}/megaglest/docs
+
+%files
+%doc docs/*
+%dir %{_datadir}/megaglest
+%{_datadir}/megaglest/configuration.xml
+%{_datadir}/megaglest/data/
+%{_datadir}/megaglest/glest*
+%{_datadir}/megaglest/maps/
+%{_datadir}/megaglest/megaglest.bmp
+%{_datadir}/megaglest/scenarios/
+%{_datadir}/megaglest/techs/
+%{_datadir}/megaglest/tilesets/
+%{_datadir}/megaglest/tutorials/
+
+%changelog
+* Fri Jul 13 2012 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 3.6.0.3-3
+- Make again package owner of base data directory.
+- Install documentation as %%doc (#817315).
+
+* Fri Jul 6 2012 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 3.6.0.3-2
+- Mark documentation files as %%doc (#828544).
+- Use sourceforce link format as specified in the fedora wiki (#828544).
+
+* Fri Jun  1 2012 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 3.6.0.3-1
+- Initial megaglest-data spec.
diff --git a/sources b/sources
index e69de29..ee935b0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+63f360b52ad000af3fc71c33fc52106a  megaglest-data-3.6.0.3.tar.xz


More information about the scm-commits mailing list