]> git.pld-linux.org Git - packages/libpgf.git/blob - libpgf.spec
- x32 rebuild
[packages/libpgf.git] / libpgf.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # "make check" call
4
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)
7 Name:           libpgf
8 Version:        6.14.12
9 Release:        2
10 License:        LGPL v2.1+
11 Group:          Libraries
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)
24
25 %description
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.
31
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.
39
40 %package devel
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}
50
51 %description devel
52 The header files are only needed for development of programs using the
53 PGF library.
54
55 %description devel -l de.UTF-8
56 Die Header-Dateien werden nur zur Entwicklung von Programmen mit der
57 PGF-Library benötigt.
58
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.
62
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.
66
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.
70
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.
74
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ı.
78
79 %package static
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}
86
87 %description static
88 Static PGF library.
89
90 %description static -l de.UTF-8
91 Statisch PGF Library.
92
93 %description static -l pl.UTF-8
94 Biblioteka statyczna PGF.
95
96 %description static -l pt_BR.UTF-8
97 Bibliotecas estáticas para desenvolvimento com libpgf.
98
99 %prep
100 %setup -q -n %{name}
101
102 %undos configure.ac
103
104 %build
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__autoheader}
109 %{__automake}
110 %configure
111 %{__make}
112
113 %{?with_tests:%{__make} check}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT
120
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}
125
126 # obsoleted by pkg-config
127 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpgf.la
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %post   -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
134
135 %files
136 %defattr(644,root,root,755)
137 %doc README
138 %attr(755,root,root) %{_libdir}/libpgf.so.*.*.*
139 %attr(755,root,root) %ghost %{_libdir}/libpgf.so.6
140
141 %files devel
142 %defattr(644,root,root,755)
143 %doc doc/html/*
144 %attr(755,root,root) %{_libdir}/libpgf.so
145 %{_includedir}/libpgf
146 %{_pkgconfigdir}/libpgf.pc
147 %{_mandir}/man3/PGF*.3*
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/libpgf.a
This page took 0.059184 seconds and 4 git commands to generate.