[521] | 1 | Summary: Digital Photo editor |
---|
| 2 | Summary(ja): デジタル写真編集ソフトウェア |
---|
| 3 | |
---|
| 4 | Name: fotoxx |
---|
| 5 | Version: 6.0 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | |
---|
| 8 | Group: Applications/Multimedia |
---|
| 9 | License: GPLv2 |
---|
| 10 | URL: http://kornelix.squarespace.com/%{name} |
---|
| 11 | Source0: http://kornelix.squarespace.com/storage/downloads/%{name}-%{version}.tar.gz |
---|
| 12 | Source1: %{name}.desktop |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: desktop-file-utils |
---|
| 17 | BuildRequires: freeimage-devel |
---|
| 18 | Requires: exiv2 |
---|
| 19 | Requires: printoxx |
---|
| 20 | |
---|
| 21 | Patch0: fotoxx-5.8.constchar.patch |
---|
| 22 | Patch1: fotoxx-dynamically-link.patch |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Fotoxx is a free open source Linux program for editing image files |
---|
| 26 | from a digital camera. The goal of fotoxx is to meet most image editing |
---|
| 27 | needs while remaining easy to use. |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n %{name} |
---|
| 31 | rm libfreeimage.a |
---|
| 32 | %patch0 -p1 -b .constchar |
---|
| 33 | %patch1 -p1 -b .dynamic |
---|
| 34 | |
---|
| 35 | # To use our CFLAGS (exported) |
---|
| 36 | sed -i -e "s/CFLAGS =/CFLAGS +=/" Makefile |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; |
---|
| 40 | make %{?_smp_mflags} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} |
---|
| 46 | install -Dm 644 -p data/icons/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png |
---|
| 47 | desktop-file-install --vendor="" \ |
---|
| 48 | --mode 644 \ |
---|
| 49 | --remove-category="Application" \ |
---|
| 50 | --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 51 | %{SOURCE1} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %doc doc/* |
---|
| 61 | %dir %{_datadir}/%{name} |
---|
| 62 | %{_bindir}/%{name} |
---|
| 63 | %{_datadir}/%{name}/icons/ |
---|
| 64 | %{_datadir}/%{name}/locales/ |
---|
| 65 | %{_datadir}/applications/%{name}.desktop |
---|
| 66 | %{_datadir}/pixmaps/%{name}.png |
---|
| 67 | |
---|
| 68 | %changelog |
---|
| 69 | * Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-1 |
---|
| 70 | - initial build for Vine Linux |
---|
| 71 | |
---|
| 72 | * Wed Feb 25 2009 Dennis Gilmore <dennis@ausil.us> - 6.0-3 |
---|
| 73 | - add patch to dynamically link to libfreeimage |
---|
| 74 | |
---|
| 75 | * Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-2 |
---|
| 76 | - Forgot patch |
---|
| 77 | |
---|
| 78 | * Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-1 |
---|
| 79 | - New version 6.0 |
---|
| 80 | - Adjust Source0 url (inspired by Kevin Fenzi in fedora-devel-list: https://www.redhat.com/archives/fedora-devel-list/2009-February/msg01622.html ). |
---|
| 81 | |
---|
| 82 | * Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 5.8-2 |
---|
| 83 | - Add patch0 fotoxx-5.8.constchar.patch |
---|
| 84 | - Reformat spec with tabs, remove trailing spaces. |
---|
| 85 | |
---|
| 86 | * Sun Jan 4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.8-1 |
---|
| 87 | - Rebuild for 5.8 |
---|
| 88 | * Mon Dec 1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.7-1 |
---|
| 89 | - Rebuild for 5.7 |
---|
| 90 | * Sun Nov 16 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.6-1 |
---|
| 91 | - Rebuild for 5.6 |
---|
| 92 | * Tue Nov 4 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.5-1 |
---|
| 93 | - Rebuild for 5.5 |
---|
| 94 | * Thu Oct 9 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.4-1 |
---|
| 95 | - Rebuild for 5.4 |
---|
| 96 | * Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.3-1 |
---|
| 97 | - Rebuild for 5.3 |
---|
| 98 | * Sun Aug 31 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.2-1 |
---|
| 99 | - Rebuild for 5.2 |
---|
| 100 | * Sun Aug 24 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.1-1 |
---|
| 101 | - Rebuild for 5.1 |
---|
| 102 | * Fri Aug 8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0.1-1 |
---|
| 103 | - Rebuild for 5.0.1 |
---|
| 104 | * Sat Aug 2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0-1 |
---|
| 105 | - Rebuild for 5.0 |
---|
| 106 | * Tue Jul 22 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.9-1 |
---|
| 107 | - Initial build |
---|