3 %bcond_without static_libs # don't build static library
5 Summary: JPEG Scaling Library
6 Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
12 Source0: http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2
13 # Source0-md5: b6eada50c40f46810530fe85a67f558d
14 URL: http://enlightenment.org/Libraries/Epeg/
15 BuildRequires: autoconf
16 BuildRequires: automake >= 1.4
17 BuildRequires: libjpeg-devel
18 BuildRequires: libtool
19 Requires: %{name}-libs = %{version}-%{release}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Epeg is a library which provides facilities for scaling JPEG images
26 %description -l pl.UTF-8
27 Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
31 Summary(pl.UTF-8): Biblioteka epeg
37 %description libs -l pl.UTF-8
41 Summary: Epeg header files
42 Summary(pl.UTF-8): Pliki nagłówkowe Epeg
43 Group: Development/Libraries
44 Requires: %{name}-libs = %{version}-%{release}
45 Requires: libjpeg-devel
48 Header files for Epeg.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe Epeg.
54 Summary: Static Epeg library
55 Summary(pl.UTF-8): Statyczna biblioteka Epeg
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
62 %description static -l pl.UTF-8
63 Statyczna biblioteka Epeg.
75 %{!?with_static_libs:--disable-static}
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT
87 %post libs -p /sbin/ldconfig
88 %postun libs -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc AUTHORS COPYING COPYING-PLAIN README
93 %attr(755,root,root) %{_bindir}/epeg
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libepeg.so.*
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libepeg.so
102 %{_libdir}/libepeg.la
103 %{_includedir}/Epeg.h
104 %{_pkgconfigdir}/epeg.pc
106 %if %{with static_libs}
108 %defattr(644,root,root,755)