libpgf-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Name: libpgf
  2. Version: 6.14.12
  3. Release: 2%{?_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 Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 6.14.12-2
  54. - rebuild with gcc-5.4.0
  55. * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 6.14.12-1
  56. - Initial build for Vine Linux
  57. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.3.svn123
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  59. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.2.svn123
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  61. * Mon Nov 11 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.13.45-0.1.svn123
  62. - libpgf-6.13.45 r123 snapshot
  63. * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.2.svn119
  64. - disable OpenMP
  65. * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.1.svn119
  66. - libpgf-6.12.27 r119 snapshot
  67. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-5
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  69. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-4
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  71. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-3
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  73. * Tue Jun 26 2012 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.24-2
  74. - libpgf-6.12.24
  75. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.11.42-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  77. * Thu Oct 28 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.42-1
  78. - libpgf-6.11.42
  79. * Thu Sep 23 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.24-1
  80. - Initial RPM release
  81. - added svn r46-48 fixes (6.11.32)
  82. - install docs in -devel