fotoxx-vl.spec 3.4 KB

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