Author: qboosh Date: Sun Jun 5 06:53:02 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/libwebp: libwebp.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libwebp/libwebp.spec diff -u /dev/null packages/libwebp/libwebp.spec:1.1 --- /dev/null Sun Jun 5 08:53:02 2011 +++ packages/libwebp/libwebp.spec Sun Jun 5 08:52:57 2011 @@ -0,0 +1,110 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without apidocs # do not build and package API docs +# +Summary: WebP image codec library and tools +Summary(pl.UTF-8): Biblioteka i narzędzia do kodeka obrazów WebP +Name: libwebp +Version: 0.1.2 +Release: 1 +License: BSD +Group: Libraries +#Source0Download: http://code.google.com/p/webp/downloads/list +Source0: http://webp.googlecode.com/files/%{name}-%{version}.tar.gz +# Source0-md5: 5534f6e3c8b9f5851a9a5b56bf78f2b0 +URL: http://code.google.com/speed/webp/ +BuildRequires: autoconf >= 2.50 +BuildRequires: automake +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libtool +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +WebP image codec library and tools. + +%description -l pl.UTF-8 +Biblioteka i narzędzia do kodeka obrazów WebP. + +%package devel +Summary: Header files for WebP library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WebP +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for WebP library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki WebP. + +%package static +Summary: Static WebP library +Summary(pl.UTF-8): Statyczna biblioteka WebP +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static WebP library. + +%description static -l pl.UTF-8 +Statyczna biblioteka WebP. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +# create directories if necessary +#install -d $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# obsoleted by pkgconfig +%{__rm} $RPM_BUILD_ROOT%{_libdir}/libwebp.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS COPYING ChangeLog NEWS PATENTS README +%attr(755,root,root) %{_bindir}/cwebp +%attr(755,root,root) %{_bindir}/dwebp +%attr(755,root,root) %{_libdir}/libwebp.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwebp.so.0 +%{_mandir}/man1/cwebp.1* +%{_mandir}/man1/dwebp.1* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libwebp.so +%{_includedir}/webp +%{_pkgconfigdir}/libwebp.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/libwebp.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/06/05 06:52:57 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
