SPECS (DEVEL): krusader.spec - updated to 2.0.0-beta1 (KDE4 version)

paszczus paszczus at pld-linux.org
Wed Aug 6 14:57:55 CEST 2008


Author: paszczus                     Date: Wed Aug  6 12:57:55 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- updated to 2.0.0-beta1 (KDE4 version)

---- Files affected:
SPECS:
   krusader.spec (1.34.2.1 -> 1.34.2.2) 

---- Diffs:

================================================================
Index: SPECS/krusader.spec
diff -u SPECS/krusader.spec:1.34.2.1 SPECS/krusader.spec:1.34.2.2
--- SPECS/krusader.spec:1.34.2.1	Mon Feb 12 14:20:14 2007
+++ SPECS/krusader.spec	Wed Aug  6 14:57:50 2008
@@ -2,33 +2,40 @@
 #
 # Conditional build:
 %bcond_without	libkonq		# importing the right click menu of konqueror
-%bcond_without	libkjsembed	# with libkjsembed
+%bcond_with	libkjsembed	# with libkjsembed
 #
-Summary:	Krusader is a filemanager for KDE 3
-Summary(pl.UTF-8):   Krusader jest zarządcą plików dla KDE 3
+
+%define		_state		beta1
+
+Summary:	Krusader is a filemanager for KDE
+Summary(pl.UTF-8):	Krusader jest zarządcą plików dla KDE
 Name:		krusader
-Version:	1.60.0
-Release:	1
+Version:	2.0.0
+Release:	0.%{_state}.1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz
-# Source0-md5:	95f7900799bbd2810e6ac06fbf628536
+Source0:	http://dl.sourceforge.net/krusader/%{name}-%{version}-%{_state}.tar.gz
+# Source0-md5:	8c068962fa3ecaf26f306a72ea874512
 Patch0:		%{name}-desktop.patch
-Patch1:		%{name}-mount.patch
-Patch2:		%{name}-gcc34.patch
+#Patch2: %{name}-mount.patch
 URL:		http://krusader.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
-%{?with_libkonq:BuildRequires:	kdebase-devel}
-%{?with_libkjsembed:BuildRequires:	kdebindings-kjsembed-devel}
-BuildRequires:	kdelibs-devel >= 3.3
-BuildRequires:	qt-devel >= 3.3
+BuildRequires:	cmake
+BuildRequires:	gettext-devel
+%{?with_libkonq:BuildRequires:	kde4-kdebase-devel}
+%{?with_libkjsembed:BuildRequires:	kde4-kdebindings-kjsembed-devel}
+BuildRequires:	kde4-kdelibs-devel
+BuildRequires:	phonon-devel
 BuildRequires:	rpmbuild(macros) >= 1.129
 BuildRequires:	sed >= 4.0
+BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine	with_ccache
+
 %description
-Krusader is a filemanager for KDE 3, patterned after old-school
+Krusader is a filemanager for KDE, patterned after old-school
 managers like midnight commander and norton commander. It features
 basically all your file-management needs, plus extensive archive
 handling, mounted filesystems support, FTP and much much more. It is
@@ -36,30 +43,27 @@
 good looking :-). You should give it a try.
 
 %description -l pl.UTF-8
-Krusader jest zarządcą plików dla KDE 3, wzorowanym na takich
+Krusader jest zarządcą plików dla KDE, wzorowanym na takich
 zarządcach "starej szkoły", jak Midnight Commander czy Norton
 Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w
 zarządzaniu plików, dodatkowo obsługuje archiwa, montowanie systemów
 plików, FTP i o wiele, wiele więcej. Jest (prawie) całkowicie
-ustawialny, bardzo przyjazny dla użytkownika, szybki i cholernie
-ładny :-). Powinieneś go wypróbować.
+ustawialny, bardzo przyjazny dla użytkownika, szybki i cholernie ładny
+:-). Powinieneś go wypróbować.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{_state}
 %patch0 -p1
-%patch1 -p0
-#%%patch2 -p0
 
 %build
-%{!?with_libkonq:%{__sed} -i 's,have_libkonq=yes,have_libkonq=no,' configure*}
-%{!?with_libkjsembed:%{__sed} -i 's,have_libkjsembed=yes,have_libkjsembed=no,' configure*}
-cp -f /usr/share/automake/config.sub admin
-export QTDIR=%{_prefix}
-export KDEDIR=%{_prefix}
-%configure \
-	--disable-rpath \
-	--disable-debug \
-	--with-qt-libraries=%{_libdir}
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	../
 
 %{__make}
 
@@ -67,35 +71,29 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir}
-
-mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/krusader.desktop \
-	$RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop
-mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/krusader_root-mode.desktop \
-	$RPM_BUILD_ROOT%{_desktopdir}/krusader_root-mode.desktop
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT \
+        kde_htmldir=%{_kdedocdir}
+
 
 %find_lang %{name} --with-kde
 
+# locolor icons are deprecated (see kde .spec-s)
+rm -f $RPM_BUILD_ROOT%{_iconsdir}/locolor/*/apps/*.png
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog FAQ README doc/actions_tutorial.txt
 %attr(755,root,root) %{_bindir}/krusader
-%attr(755,root,root) %{_libdir}/kde3/kio_krarc.so
-%attr(755,root,root) %{_libdir}/kde3/kio_iso.so
-%{_libdir}/kde3/kio_krarc.la
-%{_libdir}/kde3/kio_iso.la
+%attr(755,root,root) %{_libdir}/kde4/*.so
 %{_datadir}/apps/krusader
-%{_datadir}/services/krarc.protocol
-%{_datadir}/services/iso.protocol
-%{_datadir}/apps/konqueror/servicemenus/isoservice.desktop
 %{_datadir}/config/kio_isorc
-%{_desktopdir}/*.desktop
-%{_iconsdir}/hicolor/*/apps/*.png
-%{_mandir}/man1/krusader.1*
+%{_datadir}/kde4/services/*.protocol
+%{_desktopdir}/kde4/*.desktop
+%{_iconsdir}/hicolor/*/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,9 +101,80 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.34.2.1  2007/02/12 13:20:14  baggins
+Revision 1.34.2.2  2008/08/06 12:57:50  paszczus
+- updated to 2.0.0-beta1 (KDE4 version)
+
+Revision 1.55  2008-03-23 13:27:19  witekfl
+- added BR kdelibs-shared (dtd/kdex.dtd)
+
+Revision 1.54  2008-03-22 13:43:36  witekfl
+- up to 1.90.0
+
+Revision 1.53  2008-02-18 15:54:32  tommat
+- no patch4
+- patch3 outdated - removed
+- removed todo
+- rel 1
+
+Revision 1.52  2007-12-26 16:20:32  blekot
+- vfs patch is already in sources
+
+Revision 1.51  2007-08-17 17:57:54  shadzik
+- 1.80.0 final
+- rel 0.1
+- added TODO
+
+Revision 1.50  2007/04/09 01:27:47  shadzik
+- mass attack: qt-devel epoch
+
+Revision 1.49  2007/03/11 15:17:51  blekot
+- rel up (2)
+
+Revision 1.48  2007/03/11 15:06:11  blekot
+- reverted last commit
+- removed kio_tar.so (conflicts with konqueror)
+
+Revision 1.47  2007/03/11 14:14:49  blekot
+- BuildRequires:  boost-filesystem-devel, boost-regex-devel
+
+Revision 1.46  2007/03/11 13:52:15  blekot
+- krusader-vfs.h.patch against th build
+
+Revision 1.45  2007/02/13 06:46:49  glen
+- tabs in preamble
+
+Revision 1.44  2007/02/12 00:49:01  baggins
 - converted to UTF-8
 
+Revision 1.43  2006/07/19 22:28:37  glen
+- check-files cleanup
+
+Revision 1.42  2006/07/18 06:23:22  shadzik
+- 1.70.1
+
+Revision 1.41  2006/02/14 00:11:37  glen
+- spec parser has no "comments"
+
+Revision 1.40  2006/02/14 00:03:32  rotom
+- updated to 1.70.0 (final release)
+
+Revision 1.39  2005/12/02 15:01:11  czarny
+- reverted my incompetence
+- BR: kdelibs-devel >= 3.5.0-4
+
+Revision 1.38  2005/12/01 23:43:26  czarny
+- BR: acl-devel
+
+Revision 1.37  2005/11/06 19:06:00  charles
+- updated to 1.70.0 beta2
+- enabled kiotar write support
+
+Revision 1.36  2005/10/16 13:23:26  kolodko
+- added unpacked files
+
+Revision 1.35  2005/10/03 05:50:01  charles
+- up to 1.70.0 beta1
+
 Revision 1.34  2005/05/02 18:45:11  djurban
 - enable all features by default, if kdemultimedia can require gstreamer to have all features
   then kde apps can require kdebase and kdebindings to have them.
@@ -121,7 +190,7 @@
 - aded bcon with libkonq (importing the right click menu of
 konqueror, BR: kdebase-devel)
 - {kde-libs,qt}-devel up to >= 3.3
--rm -no_konqueror_libs.patch
+- rm -no_konqueror_libs.patch
 
 Revision 1.30  2005/03/30 00:01:56  charles
 - BR: kdebindings-kjsembed-devel (for JavaScript console)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/krusader.spec?r1=1.34.2.1&r2=1.34.2.2&f=u



More information about the pld-cvs-commit mailing list