Add packaging 92/83392/1
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 1 Aug 2016 06:45:38 +0000 (15:45 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 10 Aug 2016 12:04:19 +0000 (21:04 +0900)
Change-Id: I982f35baa825d300366f2b8ceb787463d7254941

packaging/alure.changes [new file with mode: 0644]
packaging/alure.manifest [new file with mode: 0644]
packaging/alure.spec [new file with mode: 0644]
packaging/baselibs.conf [new file with mode: 0644]

diff --git a/packaging/alure.changes b/packaging/alure.changes
new file mode 100644 (file)
index 0000000..98bd418
--- /dev/null
@@ -0,0 +1,4 @@
+* Fri Jun 10 16:24:31 2016 +0300 o.danchenko <o.danchenko@samsung.com>
+
+- Initial commit based on ALURE v 1.2
+
diff --git a/packaging/alure.manifest b/packaging/alure.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/alure.spec b/packaging/alure.spec
new file mode 100644 (file)
index 0000000..f327283
--- /dev/null
@@ -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 (file)
index 0000000..9f2f25b
--- /dev/null
@@ -0,0 +1 @@
+alure