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