[packages/qqwing] Initial release

megabajt megabajt at pld-linux.org
Mon Nov 3 22:14:48 CET 2014

commit 2d0a6eb437ec127cfcfa799301a9c8e79b052f91
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Mon Nov 3 22:14:14 2014 +0100

    Initial release

 qqwing.spec | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
diff --git a/qqwing.spec b/qqwing.spec
new file mode 100644
index 0000000..ff9b378
--- /dev/null
+++ b/qqwing.spec
@@ -0,0 +1,103 @@
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+Summary:	Command-line Sudoku solver and generator
+Name:		qqwing
+Version:	1.3.3
+Release:	1
+License:	GPL v2
+Group:		Applications
+Source0:	http://qqwing.com/%{name}-%{version}.tar.gz
+# Source0-md5:	2d5541e89b82202c63ef18e49d99aa52
+URL:		http://qqwing.com/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
+Requires:	%{name}-libs = %{version}-%{release}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+QQwing is a command-line Sudoku solver and generator.
+%package libs
+Summary:	Library for Sudoku solving and generation
+Group:		Libraries
+%description libs
+libqqwing is a C++ library for solving and generating Sudoku puzzles.
+%package devel
+Summary:	Header files for qqwing library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki qqwing
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+%description devel
+Header files for qqwing library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki qqwing.
+%package static
+Summary:	Static qqwing library
+Summary(pl.UTF-8):	Statyczna biblioteka qqwing
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static qqwing library.
+%description static -l pl.UTF-8
+Statyczna biblioteka qqwing.
+%setup -q
+%{__aclocal} -I m4
+%configure \
+	%{?with_static_libs:--enable-static}
+%{__make} install \
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+%post libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+%attr(755,root,root) %{_bindir}/qqwing
+%files libs
+%attr(755,root,root) %{_libdir}/libqqwing.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libqqwing.so.2
+%files devel
+%attr(755,root,root) %{_libdir}/libqqwing.so
+%if %{with static_libs}
+%files static

---- gitweb:


More information about the pld-cvs-commit mailing list