SPECS: ksquirrel.spec - updated to 0.6.1 - separated -common and -...

charles charles at pld-linux.org
Wed Dec 28 02:21:40 CET 2005


Author: charles                      Date: Wed Dec 28 01:21:40 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.6.1
- separated -common and -small packages
- BR: ksquirrel-libs-devel, pkgconfig and again kdebase-devel
- use sources *.desktop and -desktop.patch, removed Source1 (ksquirrel.desktop)

---- Files affected:
SPECS:
   ksquirrel.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/ksquirrel.spec
diff -u SPECS/ksquirrel.spec:1.15 SPECS/ksquirrel.spec:1.16
--- SPECS/ksquirrel.spec:1.15	Mon Dec 12 05:16:02 2005
+++ SPECS/ksquirrel.spec	Wed Dec 28 02:21:35 2005
@@ -2,20 +2,22 @@
 Summary:	Graphics file browser utility
 Summary(pl):	Narzędzie do przeglądania plików graficznych
 Name:		ksquirrel
-Version:	0.6.0
+Version:	0.6.1
 Release:	1
-License:	GPL
+License:	GPL v2
 Group:		X11/Applications/Graphics
 Source0:	http://dl.sourceforge.net/ksquirrel/%{name}-%{version}.tar.bz2
-# Source0-md5:	ab0fedf3536b9c4d49dd01c775165476
-Source1:	%{name}.desktop
+# Source0-md5:	86d7f2204344f718f07f14921834b3da
+Patch0:		%{name}-desktop.patch
 URL:		http://ksquirrel.sourceforge.net/
 BuildRequires:	OpenGL-devel
 BuildRequires:	automake
-BuildRequires:	kdelibs-devel >= 3.2
+BuildRequires:	kdebase-devel >= 3.2
+BuildRequires:	ksquirrel-libs-devel >= %{version}
+BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	sed >= 4.0
-Requires:	ksquirrel-libs = %{version}
+Requires:	%{name}-common = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,8 +30,38 @@
 drzewku plików, miniaturkach, rozszerzonych miniaturkach i narzędziach
 do zmiany wielkości, rozszerzenia, koloru i do drukowania obrazków.
 
+%package common
+Summary:	Common files for KSquirrel
+Summary(pl):	Pliki wspólne dla KSquirrel
+Group:		X11/Applications/Graphics
+
+%description common
+Documentation and common files for ksquirrel and ksquirrel-small.
+
+%description common
+Dokumantacja oraz pliki wspólne dla ksquirrel i ksquirrel-small.
+
+%package small
+Summary:	Graphics file browser utility - small version
+Summary(pl):	Narzędzie do przeglądania plików graficznych - mała wersja
+Group:		X11/Applications/Graphics
+Requires:	%{name}-common = %{version}-%{release}
+
+%description small
+KSquirrel is an image viewer for KDE with disk navigator, file tree,
+thumbnails, extended thumbnails, dynamic format support and tools to
+resize, convert, colorize and print images - small version.
+
+
+%description small -l pl
+KSquirrel to przeglądarka obrazków dla KDE z nawigacją po dyskach,
+drzewku plików, miniaturkach, rozszerzonych miniaturkach i narzędziach
+do zmiany wielkości, rozszerzenia, koloru i do drukowania obrazków -
+mała wersja.
+
 %prep
 %setup -q
+%patch0 -p1
 %{__sed} -i 's@/usr/lib@%{_libdir}@g' ksquirrel{,/ksquirrel-small}/*.{cpp,ui*}
 
 %build
@@ -48,19 +80,29 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/ksquirrel{,-small}.desktop \
+	$RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/ksquirrel
 %{_desktopdir}/ksquirrel.desktop
+%{_mandir}/man1/ksquirrel.*
+
+%files common
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
 %{_datadir}/apps/ksquirrel
 %{_iconsdir}/hicolor/*/*/*
-%{_mandir}/man1/ksquirrel*
+
+%files small
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ksquirrel-small
+%{_desktopdir}/ksquirrel-small.desktop
+%{_mandir}/man1/ksquirrel-small.*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +110,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/12/28 01:21:35  charles
+- updated to 0.6.1
+- separated -common and -small packages
+- BR: ksquirrel-libs-devel, pkgconfig and again kdebase-devel
+- use sources *.desktop and -desktop.patch, removed Source1 (ksquirrel.desktop)
+
 Revision 1.15  2005/12/12 04:16:02  charles
 - updated to 0.6.0 final
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ksquirrel.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list