libpgf-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: libpgf
  2. Version: 6.14.12
  3. Release: 1%{?_dist_release}
  4. Summary: PGF (Progressive Graphics File) library
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.libpgf.org
  8. Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: doxygen
  11. BuildRequires: libtool
  12. %description
  13. libPGF contains an implementation of the Progressive Graphics File (PGF)
  14. which is a new image file format, that is based on a discrete, fast
  15. wavelet transform with progressive coding features. PGF can be used
  16. for lossless and lossy compression.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Requires: %{name}%{?_isa} = %{version}-%{release}
  20. %description devel
  21. The %{name}-devel package contains libraries and header files for
  22. developing applications that use %{name}.
  23. %prep
  24. %setup -q -n %{name}
  25. chmod o-x COPYING README
  26. mv configure.ac configure.ac.crlf
  27. tr -d " " < configure.ac.crlf > configure.ac
  28. #sed -i 's|$(DESTDIR)$(datadir)/doc/$(DOC_MODULE)|$(RPM_BUILD_DIR)/libpgf|g' doc/Makefile.am
  29. %build
  30. sh autogen.sh
  31. export CFLAGS="%{optflags} -DLIBPGF_DISABLE_OPENMP"
  32. export CXXFLAGS="%{optflags} -DLIBPGF_DISABLE_OPENMP"
  33. %configure --disable-static
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %doc COPYING README
  45. %{_libdir}/libpgf.so.6*
  46. %files devel
  47. %doc doc/html
  48. %{_includedir}/%{name}
  49. %{_libdir}/libpgf.so
  50. %{_libdir}/pkgconfig/libpgf.pc
  51. %{_mandir}/man3/*
  52. %changelog
  53. * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 6.14.12-1
  54. - Initial build for Vine Linux
  55. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.3.svn123
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  57. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.2.svn123
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  59. * Mon Nov 11 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.13.45-0.1.svn123
  60. - libpgf-6.13.45 r123 snapshot
  61. * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.2.svn119
  62. - disable OpenMP
  63. * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.1.svn119
  64. - libpgf-6.12.27 r119 snapshot
  65. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-5
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  67. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-4
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  69. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-3
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  71. * Tue Jun 26 2012 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.24-2
  72. - libpgf-6.12.24
  73. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.11.42-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  75. * Thu Oct 28 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.42-1
  76. - libpgf-6.11.42
  77. * Thu Sep 23 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.24-1
  78. - Initial RPM release
  79. - added svn r46-48 fixes (6.11.32)
  80. - install docs in -devel