[libltc] import package
Nils Philippsen
nphilipp at fedoraproject.org
Mon Oct 28 13:22:16 UTC 2013
commit 40d26e6a2cf73bc5fb64b7c48f7e6b4657ed4ab0
Author: Nils Philippsen <nils at redhat.com>
Date: Mon Oct 28 14:21:41 2013 +0100
import package
.gitignore | 1 +
libltc-1.1.2-multilib.patch | 12 +++++++
libltc.spec | 76 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..977f8ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libltc-1.1.2-968a1d6.tar.gz
diff --git a/libltc-1.1.2-multilib.patch b/libltc-1.1.2-multilib.patch
new file mode 100644
index 0000000..14a8ca0
--- /dev/null
+++ b/libltc-1.1.2-multilib.patch
@@ -0,0 +1,12 @@
+diff -up libltc-968a1d67779783860bea0bf5b9e38c39c0b3925c/Doxyfile.in.multilib libltc-968a1d67779783860bea0bf5b9e38c39c0b3925c/Doxyfile.in
+--- libltc-968a1d67779783860bea0bf5b9e38c39c0b3925c/Doxyfile.in.multilib 2013-09-06 12:55:12.000000000 +0200
++++ libltc-968a1d67779783860bea0bf5b9e38c39c0b3925c/Doxyfile.in 2013-10-26 11:37:27.816165119 +0200
+@@ -939,7 +939,7 @@ HTML_COLORSTYLE_GAMMA = 80
+ # page will contain the date and time when the page was generated. Setting
+ # this to NO can help when comparing the output of multiple runs.
+
+-HTML_TIMESTAMP = YES
++HTML_TIMESTAMP = NO
+
+ # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+ # documentation will contain sections that can be hidden and shown after the
diff --git a/libltc.spec b/libltc.spec
new file mode 100644
index 0000000..10c8363
--- /dev/null
+++ b/libltc.spec
@@ -0,0 +1,76 @@
+Name: libltc
+Version: 1.1.2
+# github, Y U make life so difficult?
+%global commit 968a1d67779783860bea0bf5b9e38c39c0b3925c
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+Release: 1%{?dist}
+Summary: Linear/Longitudinal Time Code (LTC) Library
+
+Group: System Environment/Libraries
+License: LGPLv3+
+URL: http://x42.github.io/libltc/
+Source0: https://github.com/x42/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+# Don't timestamp built HTML documentation, probably Fedora specific
+Patch0: libltc-1.1.2-multilib.patch
+
+BuildRequires: doxygen
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+
+%description
+Linear (or Longitudinal) Timecode (LTC) is an encoding of time code data as a
+Manchester-Biphase encoded audio signal. The audio signal is commonly recorded
+on a VTR track or other storage media.
+
+libltc provides functionality to encode and decode LTC from/to time code,
+including SMPTE date support.
+
+%package devel
+Summary: Development files for libltc
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the libraries and header files needed for
+developing with libltc.
+
+%prep
+%setup -qn %{name}-%{commit}
+%patch0 -p1 -b .multilib
+autoupdate -f
+autoreconf -i
+
+%build
+%configure
+make %{?_smp_mflags} all dox
+
+%install
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_libdir}/libltc.{a,la}
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS ChangeLog COPYING README.md
+%{_libdir}/libltc.so.*
+
+%files devel
+%doc doc/html
+%{_libdir}/libltc.so
+%{_includedir}/ltc.h
+%{_libdir}/pkgconfig/ltc.pc
+%{_mandir}/man3/ltc.h.3*
+
+%changelog
+* Mon Oct 28 2013 Nils Philippsen <nils at tiptoe.de> - 1.1.2-1
+- version 1.1.2
+- use github auto-generated tarball
+- build HTML development documentation
+
+* Tue Oct 22 2013 Nils Philippsen <nils at tiptoe.de> - 1.1.1-1
+- initial release
diff --git a/sources b/sources
index e69de29..44cdfa2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+74f256108df6c3c6eb52ce00d5523e73 libltc-1.1.2-968a1d6.tar.gz
More information about the scm-commits
mailing list