[packages/scrplus: 2/2] - new
witekfl
witekfl at pld-linux.org
Sun Jan 19 18:02:54 CET 2014
commit 0c1ba2e5e9d93c3f458e395c2444e229edbc74fe
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Jan 19 18:01:28 2014 +0100
- new
scrplus.spec | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
---
diff --git a/scrplus.spec b/scrplus.spec
new file mode 100644
index 0000000..4b29975
--- /dev/null
+++ b/scrplus.spec
@@ -0,0 +1,40 @@
+Summary: Image converter to ZX Spectrum
+Name: scrplus
+Version: 0.21
+Release: 1
+License: GPL v3
+Group: Applications/Graphics
+Source0: http://downloads.sourceforge.net/scrplus/%{name}_%{version}.tar.gz
+# Source0-md5: 1ce563ad3c228b21eb62448e664ab13e
+Patch0: ldflags.patch
+URL: http://scrplus.sourceforge.net/
+BuildRequires: SDL_image-devel
+BuildRequires: gdk-pixbuf2-devel
+BuildRequires: gtk+2-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Converter of images to ZX Spectrum emulators formats.
+
+%prep
+%setup -q -n %{name}_%{version}
+%patch0 -p1
+rm -f gscrplus scrplus
+
+%build
+%{__make} CFLAGS="%{rpmcflags} -std=gnu99" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install gscrplus scrplus $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc algorithm readme TODO
+%attr(755,root,root) %{_bindir}/gscrplus
+%attr(755,root,root) %{_bindir}/scrplus
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scrplus.git/commitdiff/0c1ba2e5e9d93c3f458e395c2444e229edbc74fe
More information about the pld-cvs-commit
mailing list