]> git.pld-linux.org Git - packages/mp4v2.git/commitdiff
- new URLs, updated to 3.0.3.0
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Jun 2018 19:57:54 +0000 (21:57 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Jun 2018 19:57:54 +0000 (21:57 +0200)
- added doc patch (fixes texi -> txt docs build)

mp4v2-doc.patch [new file with mode: 0644]
mp4v2.spec

diff --git a/mp4v2-doc.patch b/mp4v2-doc.patch
new file mode 100644 (file)
index 0000000..744c8dd
--- /dev/null
@@ -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 @@
+-@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 @@
+-@input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename BuildRepository.info
+ @include base/article.texi
+-@include build/commands.texi
+ @paragraphindent none
+ @c %**end of header
+@@ -10,7 +9,6 @@
+ @contents
+ @chapter Overview
+-@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
+-@COMMAND.checkout{}
+-@COMMAND.bootstrap{}
+-@COMMAND.configure{}
+-@COMMAND.build{}
+-@COMMAND.install{}
+-@COMMAND.dist{}
++@command{checkout}
++@command{bootstrap}
++@command{configure}
++@command{build}
++@command{install}
++@command{dist}
+ @end example
+ @anchor{Build Process}
+ @chapter Build Process
+-@include build/process.checkout.texi
+-@include build/process.bootstrap.texi
+-@include build/process.configure.texi
+-@include build/process.build.texi
+-@include build/process.install.texi
+-@include build/process.dist.texi
+-@include build/process.doc.texi
+-@include build/process.google.texi
+-
+-@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 @@
+-@input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename BuildSource.info
+ @include base/article.texi
+-@include build/commands.texi
+ @paragraphindent none
+ @c %**end of header
+@@ -10,7 +9,6 @@
+ @contents
+ @chapter Overview
+-@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
+-@COMMAND.extract{}
+-@COMMAND.configure{}
+-@COMMAND.build{}
+-@COMMAND.install{}
++@command{extract}
++@command{configure}
++@command{build}
++@command{install}
+ @end example
+ @anchor{Build Process}
+ @chapter Build Process
+-@include build/process.extract.texi
+-@include build/process.configure.texi
+-@include build/process.build.texi
+-@include build/process.install.texi
+-
+-@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 @@
+-@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 @@
+-@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 @@
+-@input texinfo @c -*- Texinfo -*-
++\input texinfo @c -*- Texinfo -*-
+ @c %**start of header
+ @setfilename ToolGuide.info
+ @include base/guide.texi
index d01a5c21e3741177e9722016e7875003a447a658..bfb62f0780baf8e8bbcd3e1d47ddca692c941f31 100644 (file)
@@ -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
This page took 0.0924779999999999 seconds and 4 git commands to generate.