packages: fotoxx/fotoxx.spec, fotoxx/fotoxx-Makefile.patch (REMOVED) - move...

gotar gotar at pld-linux.org
Tue Sep 8 16:44:23 CEST 2009


Author: gotar                        Date: Tue Sep  8 14:44:23 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- moved desktop file into proper directory (removed patch),
- marked docs and translations with proper langs,
- added Suggests, updated License,
- release 2

---- Files affected:
packages/fotoxx:
   fotoxx.spec (1.11 -> 1.12) , fotoxx-Makefile.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/fotoxx/fotoxx.spec
diff -u packages/fotoxx/fotoxx.spec:1.11 packages/fotoxx/fotoxx.spec:1.12
--- packages/fotoxx/fotoxx.spec:1.11	Mon Sep  7 13:57:53 2009
+++ packages/fotoxx/fotoxx.spec	Tue Sep  8 16:44:18 2009
@@ -3,17 +3,19 @@
 Summary(pl.UTF-8):	Procesor grafiki
 Name:		fotoxx
 Version:	8.3
-Release:	1
-License:	GPL v2
+Release:	2
+License:	GPL v3
 Group:		Applications
 Source0:	http://kornelix.squarespace.com/storage/downloads/%{name}-%{version}.tar.gz
-Patch0:		%{name}-Makefile.patch
 # Source0-md5:	e5c7563306b904187765d7fa15727268
 URL:		http://kornelix.squarespace.com/fotoxx
 BuildRequires:	FreeImage-devel
 BuildRequires:	perl-Image-ExifTool
 BuildRequires:	ufraw
 BuildRequires:	xdg-utils
+Suggests:	perl-Image-ExifTool
+Suggests:	ufraw
+Suggests:	xdg-utils
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,18 +40,21 @@
 
 %prep
 %setup -q
-%patch0
 
 %build
 %{__make} \
 	CFLAGS="%{rpmcflags} -Wall -c `pkg-config --cflags gtk+-2.0`" \
+	DOCDIR=%{_docdir}/%{name}-%{version} \
 	PREFIX=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
 	PREFIX=%{_prefix} \
+	DOCDIR=%{_docdir}/%{name}-%{version} \
+	DESKTOP=$RPM_BUILD_ROOT%{_desktopdir}/kornelix-%{name}.desktop \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -57,10 +62,22 @@
 
 %files
 %defattr(644,root,root,755)
-%doc doc/{CHANGES,README,toolbar-en.jpeg,userguide-*.html}
+%doc doc/{CHANGES,README,TRANSLATIONS,toolbar-en.jpeg,userguide-en.html}
+%lang(fr) %doc doc/userguide-fr.html
+%lang(gl) %doc doc/userguide-gl.html
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
-%{_mandir}/man1/*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/icons
+%dir %{_datadir}/%{name}/locales
+%lang(cz) %{_datadir}/%{name}/locales/cz
+%lang(de) %{_datadir}/%{name}/locales/de
+%lang(el) %{_datadir}/%{name}/locales/el
+%lang(es) %{_datadir}/%{name}/locales/es
+%lang(fr) %{_datadir}/%{name}/locales/fr
+%lang(gl) %{_datadir}/%{name}/locales/gl
+%lang(zh_CN) %{_datadir}/%{name}/locales/zh_CN
+%{_desktopdir}/kornelix-%{name}.desktop
+%{_mandir}/man1/*.1.gz
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +85,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/09/08 14:44:18  gotar
+- moved desktop file into proper directory (removed patch),
+- marked docs and translations with proper langs,
+- added Suggests, updated License,
+- release 2
+
 Revision 1.11  2009/09/07 11:57:53  amateja
 - updated to 8.3
 - added patch0
================================================================

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



More information about the pld-cvs-commit mailing list