liblqr-1-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: liblqr-1
  2. Version: 0.4.2
  3. Release: 5%{?_dist_release}
  4. Summary: LiquidRescale library
  5. Group: System Environment/Libraries
  6. License: GPLv3
  7. URL: http://liquidrescale.wikidot.com/
  8. Source0: http://liblqr.wikidot.com/local--files/en:download-page/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: glib2-devel
  11. %description
  12. The LiquidRescale (lqr) library provides a C/C++ API for
  13. performing non-uniform resizing of images by the seam-carving
  14. technique.
  15. %package devel
  16. Summary: LiquidRescale library development kit
  17. Group: Development/Libraries
  18. License: GPLv3
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: glib2-devel, pkgconfig
  21. %description devel
  22. The libqr-devel package contains the header files
  23. needed to develop applications with liblqr
  24. %prep
  25. %setup -q
  26. %build
  27. export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
  28. %configure
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  32. # remove .la files
  33. find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
  34. # Fedora MUST
  35. %post -p /sbin/ldconfig
  36. %postun -p /sbin/ldconfig
  37. %clean
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc README ChangeLog COPYING
  41. %{_libdir}/liblqr-1.so.0.3.2
  42. %{_libdir}/liblqr-1.so.0
  43. %files devel
  44. %defattr (-, root, root,-)
  45. %doc docs/liblqr_manual.docbook
  46. %{_libdir}/liblqr-1.so
  47. %{_includedir}/lqr-1/
  48. %{_libdir}/pkgconfig/lqr-1.pc
  49. %changelog
  50. * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.4.2-5
  51. - Initial build for Vine Linux
  52. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-4
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  54. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  56. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  58. * Sat Feb 16 2013 Sven Lankes <sven@lank.es> - 0.4.2-1
  59. - Update to latest upstream release
  60. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  62. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  64. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  66. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  68. * Mon Aug 03 2009 Sven Lankes <sven@lank.es> - 0.4.1-1
  69. - Update to latest upstream release
  70. - Remove upstreamed patch
  71. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-8
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-7
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.1.0-6
  76. - Fix Patch0:/%%patch mismatch.
  77. * Fri Feb 29 2008 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-5
  78. - Applied pkgconfig patch to remove unneeded directories.
  79. - Changed permissions of files to 0644.
  80. - Fixed minor typos.
  81. * Mon Feb 25 2008 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-4
  82. - Cleaned SPEC file, again.
  83. * Wed Feb 20 2008 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-3
  84. - Cleaned SPEC file.
  85. * Tue Feb 19 2008 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-2
  86. - Fixed licensing issue.
  87. * Thu Jan 17 2008 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-1
  88. - Update to latest upstream release.
  89. - Added glib BuildRequires.
  90. * Mon Dec 10 2007 Alexandru Ciobanu <alex@tvtransilvania.ro> - 0.1.0-0
  91. - Initial RPM release.