- new
authorgrzegol <grzegol@pld-linux.org>
Sun, 29 Aug 2004 22:39:44 +0000 (22:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freebooters.spec -> 1.1

freebooters.spec [new file with mode: 0644]

diff --git a/freebooters.spec b/freebooters.spec
new file mode 100644 (file)
index 0000000..b58197f
--- /dev/null
@@ -0,0 +1,58 @@
+Summary:       Free "Pirates!" clone
+Summary(pl):   Klon gry "Pirates!"
+Name:          freebooters
+Version:       0.2.1
+Release:       1
+License:       GPL
+Group:         Applications/Games
+Source0:       http://download.gna.org/freebooters/%{name}-%{version}.tar.gz
+# Source0-md5: 153fdd7110c48ee93a7f7a894a32a56c
+Patch0:                %{name}-paths.patch
+URL:           http://home.gna.org/freebooters/
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: SDL_image-devel >= 1.2.0
+BuildRequires: SDL_mixer-devel >= 1.2.0
+BuildRequires: SDL_ttf-devel >= 2.0.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Freebooters is a strategy game settled in the Caribbean Sea during the
+golden age of piracy. It is based on the game mechanics of Sid Meier's
+"Pirates!", but is not an exact clone.
+
+%description -l pl
+Freebooters jest gr± strategiczn±, której akcja rozgrywa siê na morzu
+Karaibskim w czasach z³otej ery piratów. Bazuje na grze Sida Meiera
+"Pirates!", ale nie jest jej dok³adnym klonem.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="`sdl-config --cflags` %{rpmcflags}"
+
+sed -ie 's#datadir=.*#datadir=%{_datadir}/%{name}/#' data/%{name}.conf
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       BINDIR=%{_bindir} \
+       DATADIR=%{_datadir} \
+       MANDIR=%{_mandir} \
+       SYSCONFDIR=%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/{AUTHORS,changelog-until-0.2.txt,NEWS,README,TODO}
+%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf
+%{_datadir}/%{name}
+%{_mandir}/man6/*.6*
This page took 0.066531 seconds and 4 git commands to generate.