1 | Name: libpgf |
---|
2 | Version: 6.14.12 |
---|
3 | Release: 1%{?_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 Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 6.14.12-1 |
---|
75 | - Initial build for Vine Linux |
---|
76 | |
---|
77 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.3.svn123 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
79 | |
---|
80 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.13.45-0.2.svn123 |
---|
81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
82 | |
---|
83 | * Mon Nov 11 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.13.45-0.1.svn123 |
---|
84 | - libpgf-6.13.45 r123 snapshot |
---|
85 | |
---|
86 | * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.2.svn119 |
---|
87 | - disable OpenMP |
---|
88 | |
---|
89 | * Fri Oct 25 2013 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.27-0.1.svn119 |
---|
90 | - libpgf-6.12.27 r119 snapshot |
---|
91 | |
---|
92 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-5 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-4 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
97 | |
---|
98 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.24-3 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
100 | |
---|
101 | * Tue Jun 26 2012 Alexey Kurov <nucleo@fedoraproject.org> - 6.12.24-2 |
---|
102 | - libpgf-6.12.24 |
---|
103 | |
---|
104 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.11.42-2 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
106 | |
---|
107 | * Thu Oct 28 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.42-1 |
---|
108 | - libpgf-6.11.42 |
---|
109 | |
---|
110 | * Thu Sep 23 2010 Alexey Kurov <nucleo@fedoraproject.org> - 6.11.24-1 |
---|
111 | - Initial RPM release |
---|
112 | - added svn r46-48 fixes (6.11.32) |
---|
113 | - install docs in -devel |
---|