From: Seungbae Shin Date: Mon, 1 Aug 2016 06:45:38 +0000 (+0900) Subject: Add packaging X-Git-Tag: accepted/tizen/common/20160824.154812~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1779d28a01da9336728f182ec1fa3530e147180f;hp=45944336ab3b4611c87aae6c9c9f9d007720fe41;p=platform%2Fupstream%2Falure.git Add packaging Change-Id: I982f35baa825d300366f2b8ceb787463d7254941 --- diff --git a/packaging/alure.changes b/packaging/alure.changes new file mode 100644 index 0000000..98bd418 --- /dev/null +++ b/packaging/alure.changes @@ -0,0 +1,4 @@ +* Fri Jun 10 16:24:31 2016 +0300 o.danchenko + +- Initial commit based on ALURE v 1.2 + diff --git a/packaging/alure.manifest b/packaging/alure.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/alure.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/alure.spec b/packaging/alure.spec new file mode 100644 index 0000000..f327283 --- /dev/null +++ b/packaging/alure.spec @@ -0,0 +1,58 @@ +Name: alure +Version: 1.2 +Release: 0 +License: LGPL-2.0+ +Summary: File-loading and utility functions for OpenAL +Group: System Environment/Libraries +URL: http://kcat.strangesoft.net/alure.html +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source1001: alure.manifest +BuildRequires: cmake, libsndfile-devel, openal-soft-devel + +%description +ALURE is a utility library to help manage common tasks with OpenAL applications + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +# Devel doc includes some files under GPLv2+ from NaturalDocs +License: LGPLv2+ and GPLv2+ +Requires: %{name} = %{version} +Requires: pkgconfig + +%description devel +ALURE is a utility library to help manage common tasks with OpenAL applications + +%prep +%setup -q +cp %{SOURCE1001} . + +%build + +%cmake . +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%manifest %{name}.manifest +%license COPYING +%{_libdir}/libalure.so.* +%{_bindir}/alure* + +%files devel +%defattr(-,root,root,-) +%manifest %{name}.manifest +/usr/share/doc/alure/html/* +%doc docs/html/* examples/* +%{_includedir}/AL/alure.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..9f2f25b --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1 @@ +alure