Author: qboosh Date: Fri Mar 16 13:48:44 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/libaacs: libaacs.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libaacs/libaacs.spec diff -u /dev/null packages/libaacs/libaacs.spec:1.1 --- /dev/null Fri Mar 16 14:48:44 2012 +++ packages/libaacs/libaacs.spec Fri Mar 16 14:48:39 2012 @@ -0,0 +1,103 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # don't build static libraries +# +Summary: AACS support library for Blu-ray playback +Summary(pl.UTF-8): Biblioteka obsługi AACS do odtwarzania Blu-ray +Name: libaacs +Version: 0.3.0 +Release: 1 +License: LGPL v2.1+ +Group: Libraries +Source0: ftp://ftp.videolan.org/pub/videolan/libaacs/%{version}/%{name}-%{version}.tar.bz2 +# Source0-md5: 442c32e4bd4c2216d4d25fdad12f39e2 +URL: http://www.videolan.org/developers/libaacs.html +BuildRequires: libgcrypt-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libaacs is a research project to implement the Advanced Access Content +System specification. This research project provides, through an +open-source library, a way to understand how the AACS works. + +%description -l pl.UTF-8 +libaacs to projekt badawczy mający na celu zaimplementowanie +specyfikacji Advanced Access Content System (zaawansowanego systemu +dostępu do treści). Zapewnia on - poprzez bibliotekę mającą otwarte +źródła - możliwość zrozumienia, jak działa AACS. + +%package devel +Summary: Header files for AACS library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AACS +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for AACS library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki AACS. + +%package static +Summary: Static AACS library +Summary(pl.UTF-8): Statyczna biblioteka AACS +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static AACS library. + +%description static -l pl.UTF-8 +Statyczna biblioteka AACS. + +%prep +%setup -q + +%build +%configure \ + %{!?with_static_libs:--disable-static} +%{__make} \ + CFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# obsoleted by pkg-config +%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc KEYDB.cfg +%attr(755,root,root) %{_libdir}/libaacs.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libaacs.so.0 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libaacs.so +%{_includedir}/libaacs +%{_pkgconfigdir}/libaacs.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libaacs.a +%endif + +%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 2012/03/16 13:48:39 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
