3 %bcond_without static_libs # don't build static library
6 Summary: JPEG Scaling Library
7 Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
13 Source0: %{name}-%{version}-%{_snap}.tar.bz2
14 # Source0-md5: a7331984bef4543a6ed1b385ccd7cc0d
15 URL: http://enlightenment.org/Libraries/Epeg/
16 BuildRequires: autoconf >= 2.52
17 BuildRequires: automake >= 1.6
18 BuildRequires: libjpeg-devel
19 BuildRequires: libtool
20 Requires: %{name}-libs = %{version}-%{release}
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Epeg is a library which provides facilities for scaling JPEG images
27 Note: this library is obsolete; new software uses Evas to scale JPEG
30 %description -l pl.UTF-8
31 Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
33 Uwaga: ta biblioteka jest przestarzała; nowy kod do skalowania obrazów
34 JPEG wykorzystuje bibliotekę Evas.
38 Summary(pl.UTF-8): Biblioteka epeg
44 %description libs -l pl.UTF-8
48 Summary: Epeg header files
49 Summary(pl.UTF-8): Pliki nagłówkowe Epeg
50 Group: Development/Libraries
51 Requires: %{name}-libs = %{version}-%{release}
52 Requires: libjpeg-devel
55 Header files for Epeg.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe Epeg.
61 Summary: Static Epeg library
62 Summary(pl.UTF-8): Statyczna biblioteka Epeg
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
69 %description static -l pl.UTF-8
70 Statyczna biblioteka Epeg.
73 %setup -q -n %{name}-%{version}-%{_snap}
82 %{!?with_static_libs:--disable-static}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
94 %post libs -p /sbin/ldconfig
95 %postun libs -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING COPYING-PLAIN README
100 %attr(755,root,root) %{_bindir}/epeg
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libepeg.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libepeg.so.0
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libepeg.so
110 %{_libdir}/libepeg.la
111 %{_includedir}/Epeg.h
112 %{_pkgconfigdir}/epeg.pc
114 %if %{with static_libs}
116 %defattr(644,root,root,755)