]> git.pld-linux.org Git - packages/fotoxx.git/commitdiff
- moved desktop file into proper directory (removed patch), auto/th/fotoxx-8_3-2
authorTomasz Pala <gotar@pld-linux.org>
Tue, 8 Sep 2009 14:44:18 +0000 (14:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- marked docs and translations with proper langs,
- added Suggests, updated License,
- release 2

Changed files:
    fotoxx-Makefile.patch -> 1.2
    fotoxx.spec -> 1.12

fotoxx-Makefile.patch [deleted file]
fotoxx.spec

diff --git a/fotoxx-Makefile.patch b/fotoxx-Makefile.patch
deleted file mode 100644 (file)
index 38ad41b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./Makefile.orig    2009-09-07 13:42:30.000000000 +0200
-+++ ./Makefile 2009-09-07 13:43:40.000000000 +0200
-@@ -12,7 +12,7 @@
- BINDIR = $(PREFIX)/bin
- DATADIR = $(PREFIX)/share/$(PROGRAM)
- DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)
--DESKTOP = $(DATADIR)/kornelix-$(PROGRAM).desktop
-+DESKTOP = $(DESTDIR)$(DATADIR)/kornelix-$(PROGRAM).desktop
- MANDIR = $(PREFIX)/share/man/man1
- # replace CFLAGS and LFLAGS -O (oh) with -g for GDB debugging
index 0d39d9088b9f7f2ac883f582d5e06e03e634f546..e974ab753afbaa13dabf51e4024f5fc4e06ec8e4 100644 (file)
@@ -2,17 +2,19 @@ Summary:      Image procesor
 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
@@ -37,18 +39,21 @@ Oprócz standardowej obróbki zdjęć, umożliwia min.:
 
 %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
@@ -56,7 +61,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.049341 seconds and 4 git commands to generate.