[packages/mp4v2] - new URLs, updated to 3.0.3.0 - added doc patch (fixes texi -> txt docs build)
qboosh
qboosh at pld-linux.org
Thu Jun 14 21:56:37 CEST 2018
commit f39a7b866660f94b66fdff151f4e5a436a60aff6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 14 21:57:54 2018 +0200
- new URLs, updated to 3.0.3.0
- added doc patch (fixes texi -> txt docs build)
mp4v2-doc.patch | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mp4v2.spec | 24 +++++++----
2 files changed, 144 insertions(+), 8 deletions(-)
---
diff --git a/mp4v2.spec b/mp4v2.spec
index d01a5c2..bfb62f0 100644
--- a/mp4v2.spec
+++ b/mp4v2.spec
@@ -1,17 +1,19 @@
Summary: MP4v2 library provides API for creation and modification of MP4 files
Summary(pl.UTF-8): Biblioteka MP4v2 - API do tworzenia i modyfikowania plików MP4
Name: mp4v2
-Version: 2.0.0
-Release: 3
+Version: 3.0.3.0
+Release: 1
License: MPL v1.1
Group: Applications/Multimedia
-#Source0Download: http://code.google.com/p/mp4v2/downloads/list
-Source0: http://mp4v2.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: c91f06711225b34b4c192c9114887b14
+#Source0Download: https://github.com/TechSmith/mp4v2/releases
+Source0: https://github.com/TechSmith/mp4v2/archive/Release-MP4v2-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: c12fd37e66e64902f24c0677ba577a11
Patch0: %{name}-export.patch
-URL: http://code.google.com/p/mp4v2/
+Patch1: %{name}-doc.patch
+URL: https://github.com/TechSmith/mp4v2
BuildRequires: help2man
BuildRequires: libstdc++-devel
+BuildRequires: texinfo
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -71,13 +73,19 @@ This package contains static version of MP4v2.
Ten pakiet zawiera statyczną wersję biblioteki MP4v2.
%prep
-%setup -q
+%setup -q -n %{name}-Release-MP4v2-%{version}
%patch0 -p1
+%patch1 -p1
+
+# "txt" build fails without this directory
+mkdir -p doc/articles/txt
%build
%configure
%{__make}
+%{__make} txt
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -92,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc doc/*.txt
+%doc CHANGES.logging doc/articles/txt/{Authors,Documentation,ReleaseNotes,ToolGuide}.txt
%attr(755,root,root) %{_bindir}/mp4track
%attr(755,root,root) %{_bindir}/mp4extract
%attr(755,root,root) %{_bindir}/mp4trackdump
diff --git a/mp4v2-doc.patch b/mp4v2-doc.patch
new file mode 100644
index 0000000..744c8dd
--- /dev/null
+++ b/mp4v2-doc.patch
@@ -0,0 +1,128 @@
+Fix @input -> \input macro.
+Remove use of non-existing texi files.
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/Authors.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/Authors.texi 2018-06-13 21:26:45.975228517 +0200
+@@ -1,4 +1,4 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename Authors.info
+ @include base/article.texi
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/BuildRepository.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/BuildRepository.texi 2018-06-13 21:25:43.815229224 +0200
+@@ -1,8 +1,7 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename BuildRepository.info
+ @include base/article.texi
+- at include build/commands.texi
+ @paragraphindent none
+ @c %**end of header
+
+@@ -10,7 +9,6 @@
+ @contents
+
+ @chapter Overview
+- at include build/overview.texi
+
+ @chapter Introduction
+ This document describes the recommended process to build @value{PROJECT.name} from the repository. This process is a @b{superset} of the process to build from a @value{TERM.srcdist} bundle. If you are interested in building from a @value{TERM.srcdist} bundle then this document is not for you.
+@@ -19,24 +17,14 @@ This document describes the recommended
+ This chapter is for the impatient or those just looking for a quick summary of all the commands used in a typical build. You may skip this summary and jump to @ref{Build Process}.
+
+ @example
+- at COMMAND.checkout{}
+- at COMMAND.bootstrap{}
+- at COMMAND.configure{}
+- at COMMAND.build{}
+- at COMMAND.install{}
+- at COMMAND.dist{}
++ at command{checkout}
++ at command{bootstrap}
++ at command{configure}
++ at command{build}
++ at command{install}
++ at command{dist}
+ @end example
+
+ @anchor{Build Process}
+ @chapter Build Process
+
+- at include build/process.checkout.texi
+- at include build/process.bootstrap.texi
+- at include build/process.configure.texi
+- at include build/process.build.texi
+- at include build/process.install.texi
+- at include build/process.dist.texi
+- at include build/process.doc.texi
+- at include build/process.google.texi
+-
+- at include build/platforms.texi
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/BuildSource.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/BuildSource.texi 2018-06-13 21:26:25.361895416 +0200
+@@ -1,8 +1,7 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename BuildSource.info
+ @include base/article.texi
+- at include build/commands.texi
+ @paragraphindent none
+ @c %**end of header
+
+@@ -10,7 +9,6 @@
+ @contents
+
+ @chapter Overview
+- at include build/overview.texi
+
+ @chapter Introduction
+ This document describes the recommended process to build @value{PROJECT.name} from a @value{TERM.srcdist} bundle. This process is a @b{subset} of the process to build directly from the project's repository. If you are interested in building from the repository then this document is not for you.
+@@ -19,18 +17,12 @@ This document describes the recommended
+ This chapter is for the impatient or those just looking for a quick summary of all the commands used in a typical build. You may skip this summary and jump to @ref{Build Process}.
+
+ @example
+- at COMMAND.extract{}
+- at COMMAND.configure{}
+- at COMMAND.build{}
+- at COMMAND.install{}
++ at command{extract}
++ at command{configure}
++ at command{build}
++ at command{install}
+ @end example
+
+ @anchor{Build Process}
+ @chapter Build Process
+
+- at include build/process.extract.texi
+- at include build/process.configure.texi
+- at include build/process.build.texi
+- at include build/process.install.texi
+-
+- at include build/platforms.texi
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/Documentation.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/Documentation.texi 2018-06-13 21:26:36.351895292 +0200
+@@ -1,4 +1,4 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename Documentation.info
+ @include base/article.texi
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/ReleaseNotes.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/ReleaseNotes.texi 2018-06-13 21:21:42.551898646 +0200
+@@ -1,4 +1,4 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename ReleaseNotes.info
+ @include base/article.texi
+--- mp4v2-Release-MP4v2-3.0.3.0/doc/texi/ToolGuide.texi.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/doc/texi/ToolGuide.texi 2018-06-13 21:25:54.481895768 +0200
+@@ -1,4 +1,4 @@
+- at input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename ToolGuide.info
+ @include base/guide.texi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mp4v2.git/commitdiff/f39a7b866660f94b66fdff151f4e5a436a60aff6
More information about the pld-cvs-commit
mailing list