[packages/sdlbook] - new, there was no official release, so version number is fake

witekfl witekfl at pld-linux.org
Sun Mar 19 17:32:56 CET 2023


commit f8d9568b26d3df117b08f1a2358b635ac344936f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Mar 19 17:31:54 2023 +0100

    - new, there was no official release, so version number is fake

 sdlbook.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/sdlbook.spec b/sdlbook.spec
new file mode 100644
index 0000000..56d1e00
--- /dev/null
+++ b/sdlbook.spec
@@ -0,0 +1,46 @@
+%define		snap	20230319
+Summary:	Simple djvu/pdf viewer
+Summary(pl.UTF-8):	Prosta przeglądarka plików djvu i pdf
+Name:		sdlbook
+Version:	0.1
+Release:	1.git%{snap}
+License:	GPL v3
+Group:		X11/Applications
+Source0:	%{name}-%{snap}.tar.gz
+# Source0-md5:	e19906bc00e765c3d1e730ac921a8e7e
+URL:		https://github.com/rofl0r/SDLBook
+BuildRequires:	SDL-devel
+BuildRequires:	djvulibre-devel
+BuildRequires:	mupdf-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tiny eBook reader using only SDL, djvulibre, and libmupdf.
+
+%description -l pl.UTF-8
+Mały czytnik ebooków korzystający tylko z SDL, djvulibre i
+libmupdf.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__make} \
+	prefix=%{_prefix} \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	prefix=%{_prefix} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/sdlbook
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sdlbook.git/commitdiff/f8d9568b26d3df117b08f1a2358b635ac344936f



More information about the pld-cvs-commit mailing list