3 %bcond_without static_libs # don't build static library
7 Summary: JPEG Scaling Library
8 Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
11 Release: 0.%{_snap}.%{rel}
14 Source0: %{name}-%{version}-%{_snap}.tar.bz2
15 # Source0-md5: a7331984bef4543a6ed1b385ccd7cc0d
16 URL: http://enlightenment.org/Libraries/Epeg/
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake >= 1.6
19 BuildRequires: libjpeg-devel
20 BuildRequires: libtool
21 Requires: %{name}-libs = %{version}-%{release}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Epeg is a library which provides facilities for scaling JPEG images
28 Note: this library is obsolete; new software uses Evas to scale JPEG
31 %description -l pl.UTF-8
32 Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
34 Uwaga: ta biblioteka jest przestarzała; nowy kod do skalowania obrazów
35 JPEG wykorzystuje bibliotekę Evas.
39 Summary(pl.UTF-8): Biblioteka epeg
45 %description libs -l pl.UTF-8
49 Summary: Epeg header files
50 Summary(pl.UTF-8): Pliki nagłówkowe Epeg
51 Group: Development/Libraries
52 Requires: %{name}-libs = %{version}-%{release}
53 Requires: libjpeg-devel
56 Header files for Epeg.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe Epeg.
62 Summary: Static Epeg library
63 Summary(pl.UTF-8): Statyczna biblioteka Epeg
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
70 %description static -l pl.UTF-8
71 Statyczna biblioteka Epeg.
74 %setup -q -n %{name}-%{version}-%{_snap}
83 %{!?with_static_libs:--disable-static}
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post libs -p /sbin/ldconfig
96 %postun libs -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING COPYING-PLAIN README
101 %attr(755,root,root) %{_bindir}/epeg
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libepeg.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libepeg.so.0
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libepeg.so
111 %{_libdir}/libepeg.la
112 %{_includedir}/Epeg.h
113 %{_pkgconfigdir}/epeg.pc
115 %if %{with static_libs}
117 %defattr(644,root,root,755)