]> git.pld-linux.org Git - packages/epeg.git/blame - epeg.spec
- rel 4
[packages/epeg.git] / epeg.spec
CommitLineData
b764493e
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
da7d704c 5%define _snap 20080813
55cda8e2 6%define rel 4
6ac0d5bf 7Summary: JPEG Scaling Library
d1291455 8Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
6ac0d5bf 9Name: epeg
da7d704c 10Version: 0.9.1.043
55cda8e2 11Release: 0.%{_snap}.%{rel}
6ac0d5bf 12License: BSD
b706a223 13Group: Libraries
da7d704c 14Source0: %{name}-%{version}-%{_snap}.tar.bz2
15# Source0-md5: a7331984bef4543a6ed1b385ccd7cc0d
df230c26 16URL: http://enlightenment.org/Libraries/Epeg/
b9078f89
JB
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6
6ac0d5bf 19BuildRequires: libjpeg-devel
20BuildRequires: libtool
5590224c 21Requires: %{name}-libs = %{version}-%{release}
6ac0d5bf 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Epeg is a library which provides facilities for scaling JPEG images
26very quickly.
27
27bbfa12
JB
28Note: this library is obsolete; new software uses Evas to scale JPEG
29images.
30
728f9aa6
JR
31%description -l pl.UTF-8
32Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
31df5cf3 33
27bbfa12
JB
34Uwaga: ta biblioteka jest przestarzała; nowy kod do skalowania obrazów
35JPEG wykorzystuje bibliotekę Evas.
36
5590224c 37%package libs
38Summary: Epeg library
d1291455 39Summary(pl.UTF-8): Biblioteka epeg
5590224c 40Group: Libraries
41
42%description libs
43Epeg library.
44
728f9aa6 45%description libs -l pl.UTF-8
5590224c 46Biblioteka epeg.
47
6ac0d5bf 48%package devel
31df5cf3 49Summary: Epeg header files
d1291455 50Summary(pl.UTF-8): Pliki nagłówkowe Epeg
6ac0d5bf 51Group: Development/Libraries
5590224c 52Requires: %{name}-libs = %{version}-%{release}
6ac0d5bf 53Requires: libjpeg-devel
54
55%description devel
31df5cf3
JB
56Header files for Epeg.
57
728f9aa6
JR
58%description devel -l pl.UTF-8
59Pliki nagłówkowe Epeg.
6ac0d5bf 60
61%package static
31df5cf3 62Summary: Static Epeg library
d1291455 63Summary(pl.UTF-8): Statyczna biblioteka Epeg
6ac0d5bf 64Group: Development/Libraries
31df5cf3 65Requires: %{name}-devel = %{version}-%{release}
6ac0d5bf 66
67%description static
31df5cf3
JB
68Static Epeg library.
69
728f9aa6 70%description static -l pl.UTF-8
31df5cf3 71Statyczna biblioteka Epeg.
6ac0d5bf 72
73%prep
da7d704c 74%setup -q -n %{name}-%{version}-%{_snap}
6ac0d5bf 75
76%build
77%{__libtoolize}
a6a7f7d3 78%{__aclocal}
6ac0d5bf 79%{__autoconf}
80%{__autoheader}
81%{__automake}
b764493e
KK
82%configure \
83 %{!?with_static_libs:--disable-static}
6ac0d5bf 84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
31df5cf3 88
6ac0d5bf 89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
b9078f89
JB
95%post libs -p /sbin/ldconfig
96%postun libs -p /sbin/ldconfig
6ac0d5bf 97
98%files
99%defattr(644,root,root,755)
1a70b182 100%doc AUTHORS COPYING COPYING-PLAIN README
6ac0d5bf 101%attr(755,root,root) %{_bindir}/epeg
5590224c 102
103%files libs
104%defattr(644,root,root,755)
b9078f89
JB
105%attr(755,root,root) %{_libdir}/libepeg.so.*.*.*
106%attr(755,root,root) %ghost %{_libdir}/libepeg.so.0
6ac0d5bf 107
108%files devel
109%defattr(644,root,root,755)
31df5cf3
JB
110%attr(755,root,root) %{_libdir}/libepeg.so
111%{_libdir}/libepeg.la
1a70b182 112%{_includedir}/Epeg.h
70c4a716 113%{_pkgconfigdir}/epeg.pc
6ac0d5bf 114
b764493e 115%if %{with static_libs}
6ac0d5bf 116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libepeg.a
b764493e 119%endif
This page took 0.130477 seconds and 4 git commands to generate.