SPECS: ksudoku.spec - up to 0.4 (switch to cmake) - BR: OpenGL-GLU...

arvenil arvenil at pld-linux.org
Wed Oct 3 15:05:49 CEST 2007


Author: arvenil                      Date: Wed Oct  3 13:05:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4 (switch to cmake)
- BR: OpenGL-GLU-devel

---- Files affected:
SPECS:
   ksudoku.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/ksudoku.spec
diff -u SPECS/ksudoku.spec:1.11 SPECS/ksudoku.spec:1.12
--- SPECS/ksudoku.spec:1.11	Sat Mar 31 16:17:31 2007
+++ SPECS/ksudoku.spec	Wed Oct  3 15:05:44 2007
@@ -2,19 +2,17 @@
 Summary:	Sudoku Puzzle Generator and solver for KDE
 Summary(pl.UTF-8):	Program generujący i rozwiązujący diagramy Sudoku dla KDE
 Name:		ksudoku
-Version:	0.3
-Release:	2
+Version:	0.4
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/ksudoku/%{name}-%{version}.tar.gz
-# Source0-md5:	d5fe20e9deda671dd15340f43ab4c4a3
+# Source0-md5:	418f9ecac5756f7bc79863596dee7f34
 Patch0:		%{name}-desktop.patch
-Patch1:		kde-ac260.patch
-Patch2:		ksudoku-am.patch
 URL:		http://ksudoku.sourceforge.net/
+BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	cmake
 BuildRequires:	kdelibs-devel >= 9:3.2.0
 BuildRequires:	rpmbuild(macros) >= 1.129
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,19 +33,10 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin
-%{__make} -f admin/Makefile.common cvs
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
 
-%configure \
-%if "%{_lib}" == "lib64"
-    --enable-libsuffix=64 \
-%endif
-    --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
-    --with-qt-libraries=%{_libdir}
 %{__make}
 
 %install
@@ -59,18 +48,17 @@
 	kde_htmldir=%{_kdedocdir} \
 	kdelnkdir=%{_desktopdir}/kde
 
-%find_lang %{name} --with-kde
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/kde/ksudoku.desktop
 %{_iconsdir}/hicolor/*/apps/%{name}.png
 %{_datadir}/apps/%{name}
+%{_datadir}/config/ksudokurc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -78,6 +66,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2007/10/03 13:05:44  arvenil
+- up to 0.4 (switch to cmake)
+- BR: OpenGL-GLU-devel
+
 Revision 1.11  2007/03/31 14:17:31  darekr
 - added -ac260, -am patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ksudoku.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list