3 %bcond_without tests # "make check" call
5 Summary: PGF (Progressive Graphics File) image format library
6 Summary(pl.UTF-8): Biblioteka obsługująca format plików PGF (Progressive Graphics File)
12 Source0: http://downloads.sourceforge.net/libpgf/%{name}-src-%{version}.tar.gz
13 # Source0-md5: a2b13832e23ad9026bd249d57b6c26da
14 URL: http://www.libpgf.org/
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: doxygen
18 BuildRequires: graphviz
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
21 BuildRequires: rpmbuild(macros) >= 1.566
22 BuildRequires: sed >= 4.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 PGF is a new image file format, based on discrete, fast wavelet
27 transform with progressive coding features. Lossless and lossy
28 compression. Best for natural and aerial images. For such images with
29 a better compression efficiency than JPEG. PGF is one of the best
30 algorithms available these days for compression of natural images.
32 %description -l pl.UTF-8
33 PGF to nowy format plików obrazów, oparty na dyskretnej, szybkiej
34 transformacie falkowej połączonej z kodowaniem progresywnym. Kompresja
35 może być bezstratna, jak i stratna. Format jest najlepszy dla obrazów
36 naturalnych i lotniczych. Dla takich obrazów osiąga się lepszą
37 wydajność kompresji niż format JPEG. PGF jest obecnie jednym z
38 najlepszych algorytmów dla obrazów naturalnych.
41 Summary: Header files for libpgf library
42 Summary(de.UTF-8): libpgf Headers
43 Summary(es.UTF-8): Archivos de inclusión y bibliotecas estáticas
44 Summary(fr.UTF-8): en-têtes et bibliothèques statiques
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libpgf
46 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas estáticas
47 Summary(tr.UTF-8): başlık dosyaları ve statik kitaplıklar
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
52 The header files are only needed for development of programs using the
55 %description devel -l de.UTF-8
56 Die Header-Dateien werden nur zur Entwicklung von Programmen mit der
59 %description devel -l es.UTF-8
60 Archivos de inclusión y bibliotecas estáticas que son necesarios
61 solamente para el desarrollo de programas que usan la biblioteca PGF.
63 %description devel -l fr.UTF-8
64 Fichiers d'en-tete et les librairies qui sont requis seulement pour le
65 développement avec la librairie PGF.
67 %description devel -l pl.UTF-8
68 W pakiecie tym znajdują się pliki nagłówkowe, przeznaczone dla
69 programistów używających biblioteki PGF.
71 %description devel -l pt_BR.UTF-8
72 Arquivos de inclusão e bibliotecas estáticas que são necessários
73 somente para o desenvolvimento de programas que usam a biblioteca PGF.
75 %description devel -l tr.UTF-8
76 PGF kitaplığını kullanan programlar geliştirmek için gereken
77 kitaplıklar ve başlık dosyaları.
80 Summary: Static PGF library
81 Summary(de.UTF-8): Statisch PGF Library
82 Summary(pl.UTF-8): Biblioteka statyczna PGF
83 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com libpgf
84 Group: Development/Libraries
85 Requires: %{name}-devel = %{version}-%{release}
90 %description static -l de.UTF-8
93 %description static -l pl.UTF-8
94 Biblioteka statyczna PGF.
96 %description static -l pt_BR.UTF-8
97 Bibliotecas estáticas para desenvolvimento com libpgf.
113 %{?with_tests:%{__make} check}
116 rm -rf $RPM_BUILD_ROOT
119 DESTDIR=$RPM_BUILD_ROOT
121 # remove man pages with too common names
122 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/[!P]*.3
123 # packaed as %doc in -devel
124 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
126 # obsoleted by pkg-config
127 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpgf.la
130 rm -rf $RPM_BUILD_ROOT
132 %post -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
136 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libpgf.so.*.*.*
139 %attr(755,root,root) %ghost %{_libdir}/libpgf.so.6
142 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/libpgf.so
145 %{_includedir}/libpgf
146 %{_pkgconfigdir}/libpgf.pc
147 %{_mandir}/man3/PGF*.3*
150 %defattr(644,root,root,755)