[libvlcpp/f27] Add Missing BR
by Nicolas Chauvet
Summary of changes:
371ca3d... Add Missing BR (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp] Add Missing BR
by Nicolas Chauvet
commit 371ca3d9b36fb90b2f8be5f96f0b079356c97254
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Sep 6 15:07:07 2017 +0200
Add Missing BR
libvlcpp.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libvlcpp.spec b/libvlcpp.spec
index 8b76d4b..fb3d144 100644
--- a/libvlcpp.spec
+++ b/libvlcpp.spec
@@ -13,6 +13,8 @@ Patch0: libvlcpp-%{version}-pkgconfig.patch
BuildArch: noarch
+BuildRequires: libtool
+
%description
C++ bindings for libvlc.
7 years, 1 month
[libvlcpp/f26] Add patch
by Nicolas Chauvet
Summary of changes:
d0ebbee... Add patch (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp/f27] Add patch
by Nicolas Chauvet
Summary of changes:
d0ebbee... Add patch (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp] Add patch
by Nicolas Chauvet
commit d0ebbee1a5e643e531e8a0d2000020042f594fba
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Sep 6 14:51:02 2017 +0200
Add patch
libvlcpp-0.1.0-pkgconfig.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/libvlcpp-0.1.0-pkgconfig.patch b/libvlcpp-0.1.0-pkgconfig.patch
new file mode 100644
index 0000000..12b1a78
--- /dev/null
+++ b/libvlcpp-0.1.0-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -up libvlcpp-0.1.0/Makefile.am.orig libvlcpp-0.1.0/Makefile.am
+--- libvlcpp-0.1.0/Makefile.am.orig 2017-09-04 20:58:39.053566325 +0200
++++ libvlcpp-0.1.0/Makefile.am 2017-09-04 20:58:47.757607764 +0200
+@@ -21,7 +21,7 @@ libvlcpp_HEADERS = \
+ vlcpp/vlc.hpp \
+ $(NULL)
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(datadir)/pkgconfig
+ pkgconfig_DATA = libvlcpp.pc
+
+ if HAVE_EXAMPLES
7 years, 1 month
[libvlcpp/el7] Initial import
by Nicolas Chauvet
Summary of changes:
c5d4969... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp/f25] Initial import
by Nicolas Chauvet
Summary of changes:
c5d4969... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp/f26] Initial import
by Nicolas Chauvet
Summary of changes:
c5d4969... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp/f27] Initial import
by Nicolas Chauvet
Summary of changes:
c5d4969... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[libvlcpp] Initial import
by Nicolas Chauvet
commit c5d4969cac4090b929d50fd1e5c01a3697384191
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Sep 6 13:59:56 2017 +0200
Initial import
.gitignore | 1 +
libvlcpp-snapshot.sh | 22 ++++++++++++++++++++++
libvlcpp.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 76 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6cdaa46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+libvlcpp-*.tar.xz
diff --git a/libvlcpp-snapshot.sh b/libvlcpp-snapshot.sh
new file mode 100755
index 0000000..f3fcd63
--- /dev/null
+++ b/libvlcpp-snapshot.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+set -e
+
+tmp=$(mktemp -d)
+
+trap cleanup EXIT
+cleanup() {
+ set +e
+ [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
+}
+
+unset CDPATH
+pwd=$(pwd)
+date=$(date +%Y%m%d)
+package=libvlcpp
+
+pushd "$tmp"
+git clone https://code.videolan.org/videolan/libvlcpp.git
+cd $package
+git archive --prefix="${package}-${date}/" --format=tar master | xz > "$pwd"/${package}-${date}.tar.xz
+popd
diff --git a/libvlcpp.spec b/libvlcpp.spec
new file mode 100644
index 0000000..8b76d4b
--- /dev/null
+++ b/libvlcpp.spec
@@ -0,0 +1,52 @@
+%global date 20170905
+
+Name: libvlcpp
+Version: 0.1.0
+Release: 1.%{?date}git%{?dist}
+Summary: C++ bindings for libvlc
+
+License: LGPLv2+
+URL: https://code.videolan.org/videolan/libvlcpp
+Source0: libvlcpp-%{date}.tar.xz
+Source9: libvlcpp-snapshot.sh
+Patch0: libvlcpp-%{version}-pkgconfig.patch
+
+BuildArch: noarch
+
+
+%description
+C++ bindings for libvlc.
+
+%package devel
+Summary: Development files for %{name}
+
+%description devel
+C++ bindings for libvlc.
+
+
+%prep
+%autosetup -p1 -n %{name}-%{date}
+./bootstrap
+
+
+%build
+%configure
+%make_build
+
+
+%install
+%make_install INSTALL="install -p"
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+
+%files devel
+%doc AUTHORS NEWS
+%license COPYING
+%{_includedir}/vlcpp/
+%{_datadir}/pkgconfig/libvlcpp.pc
+
+
+%changelog
+* Mon Sep 04 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 0.1.0-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..b1e326b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+39b17d49e1832f7625b2c2569ef10847 libvlcpp-20170905.tar.xz
7 years, 1 month