commit 572ed38ce56c18192f209aad0b5d8f9590868891
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 5 09:47:07 2018 +0100
Initial import
.gitignore | 1 +
medialibrary.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9a4f133 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/medialibrary-*.tar.gz
diff --git a/medialibrary.spec b/medialibrary.spec
new file mode 100644
index 0000000..f3200b9
--- /dev/null
+++ b/medialibrary.spec
@@ -0,0 +1,67 @@
+%global commit 67797d1bb8e76d8e8fd4e0674eca199eabac3efc
+
+Name: medialibrary
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Cross platform media library
+
+License: GPLv2+
+URL:
https://code.videolan.org/videolan/medialibrary
+Source0: %{url}/repository/%{version}/archive.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildRequires: libtool
+
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(libjpeg)
+BuildRequires: pkgconfig(libvlc)
+BuildRequires: pkgconfig(libvlcpp)
+BuildRequires: pkgconfig(sqlite3)
+
+
+%description
+Cross platform media library.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%autosetup -p1 -n medialibrary-%{version}-%{commit}
+./bootstrap
+
+
+%build
+%configure --disable-static
+%make_build V=1
+
+
+%install
+%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%ldconfig_scriptlets
+
+
+%files
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/medialibrary
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
+* Mon Feb 26 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 0.2.0-1
+- Update to 0.2.0
+
+* Tue Sep 5 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 0.1.0-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..088356e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0b994a98991ca2add57a0cfd94f8a6f9 medialibrary-0.2.0.tar.gz