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