3 %bcond_without static_libs # don't build static library
5 Summary: JPEG Scaling Library
6 Summary(pl): Biblioteka do skalowania JPEG-ów
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 0962be0f7f501f355c93aecf8f699ba0
14 URL: http://enlightenment.org/Libraries/Epeg/
15 BuildRequires: autoconf
16 BuildRequires: automake
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
27 Epeg to biblioteka u³atwiaj±ca bardzo szybkie skalowanie obrazów JPEG.
31 Summary(pl): Biblioteka epeg
37 %description libs -l pl
41 Summary: Epeg header files
42 Summary(pl): 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
51 Pliki nag³ówkowe Epeg.
54 Summary: Static Epeg library
55 Summary(pl): Statyczna biblioteka Epeg
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
62 %description static -l pl
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 INSTALL 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) %{_bindir}/epeg-config
102 %attr(755,root,root) %{_libdir}/libepeg.so
103 %{_libdir}/libepeg.la
106 %if %{with static_libs}
108 %defattr(644,root,root,755)