printoxx-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: Print image files
  2. Summary(ja): 画像ファイル印刷ソフトウエア
  3. Name: printoxx
  4. Version: 2.8.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: gtk2-devel
  13. BuildRequires: desktop-file-utils
  14. Requires: cups
  15. %description
  16. Printoxx is a free open source Linux program for printing one or more image
  17. files with a user-defined page layout. Images can be added to a layout page
  18. using the mouse to select and drop. Images can be moved around and resized
  19. using the mouse. Adding text (titles, notes) works the same way.
  20. Any available font can be used.
  21. %prep
  22. %setup -q
  23. # To use our CFLAGS (exported)
  24. sed -i -e "s/CFLAGS =/CFLAGS +=/" Makefile
  25. %build
  26. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
  27. make %{?_smp_mflags} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install manpage DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
  31. install -Dm 644 -p icons/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
  32. desktop-file-install --vendor="" \
  33. --mode 644 \
  34. --remove-category="Application" \
  35. --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
  36. %{SOURCE1}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc doc/*
  42. %dir %{_datadir}/%{name}
  43. %{_bindir}/%{name}
  44. %{_datadir}/%{name}/icons/
  45. %{_datadir}/%{name}/locales/
  46. %{_datadir}/applications/%{name}.desktop
  47. %{_datadir}/pixmaps/%{name}.png
  48. %{_mandir}/man1/*
  49. %changelog
  50. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-1
  51. - updated to 2.8.1
  52. - built with new toolchains
  53. * Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.1-1
  54. - initial build for Vine Linux
  55. * Tue Feb 24 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.8.1-2
  56. - Step to version 1.8.1
  57. - Adjust Source0 url.
  58. - Reformat header of spec with tabs.
  59. - Add Patch0: printoxx-1.8.1.constchar.patch to build on gcc 4.4
  60. * Sun Jan 4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.8-1
  61. - Rebuild for 1.8
  62. * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.7-2
  63. - Include unowned /usr/share/printoxx/locales directory.
  64. * Mon Dec 1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.7-1
  65. - Rebuild for 1.7
  66. * Mon Oct 13 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-4
  67. - Better management of documentation
  68. * Sun Oct 12 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-3
  69. - Desktop file ameliorations
  70. - Doc files are now reachable
  71. * Mon Oct 6 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-2
  72. - add escape char in prep section
  73. * Sun Oct 5 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-1
  74. - Rebuild for 1.6
  75. * Sat Sep 27 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.5-1
  76. - Rebuild for 1.5
  77. * Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.4-1
  78. - Rebuild for 1.4
  79. * Mon Sep 8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.3.1-1
  80. - Rebuild for 1.3.1
  81. * Wed Sep 3 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.2-1
  82. - Rebuild for 1.2
  83. * Tue Sep 2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.1-2
  84. - Added desktop file support
  85. * Mon Sep 1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.1-1
  86. - Initital build