SPECS: ksudoku.spec (NEW) - initial version

teodor teodor at pld-linux.org
Wed Sep 21 11:37:47 CEST 2005


Author: teodor                       Date: Wed Sep 21 09:37:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SPECS:
   ksudoku.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ksudoku.spec
diff -u /dev/null SPECS/ksudoku.spec:1.1
--- /dev/null	Wed Sep 21 11:37:47 2005
+++ SPECS/ksudoku.spec	Wed Sep 21 11:37:42 2005
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+# TODO
+# - fix translation of description
+#
+Summary:	Sudoku Puzzle Generator and solver for KDE
+Summary(pl):	Program generujący i rozwiązujący diagramy Sudoku dla KDE
+Name:		ksudoku
+Version:	0.2
+Release:	0.1
+License:	GPL v2
+Group:		X11/Applications/Games
+Source0:	http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5:	bbaec4dc617f1c10475ea5faf2a679b4
+URL:		http://ksudoku.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	kdelibs-devel >= 9:3.2.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sudoku Puzzle Generator and Solver for KDE. Boards supported: 9x9 and
+16x16. GUI for playing, saving, printing, solving and dubbing puzzles.
+The program is fully expandable since the algorithm is extendible to
+any general graph coloring problem.
+
+%description -l pl
+Program generujący i rozwiązujący plansze Sudoku dla KDE. Wspiera
+plansze o rozmiarach 9x9 i 16x16. GUI obsługuje gre, zapisywanie,
+drukowanie, rozwiązywanie i pokazywanie prawidłowych rozwiązań.
+
+%prep
+%setup -q
+echo "Categories=Qt;KDE;Applications;Games;Board;" >> src/${name}.desktop
+
+%build
+cp -f %{_datadir}/automake/config.sub admin
+%{__make} -f admin/Makefile.common cvs
+
+%configure \
+%if "%{_lib}" == "lib64"
+    --enable-libsuffix=64 \
+%endif
+    --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+    --with-qt-libraries=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	kde_htmldir=%{_kdedocdir} \
+	kdelnkdir=%{_desktopdir}/kde
+
+
+%find_lang %{name} --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/kde/ksudoku.desktop
+%{_iconsdir}/*/*/apps/%{name}.png
+%{_datadir}/apps/%{name}
+%doc ChangeLog README
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/21 09:37:42  teodor
+- initial version
+
================================================================



More information about the pld-cvs-commit mailing list