summaryrefslogtreecommitdiff
path: root/mp4v2.spec
diff options
context:
space:
mode:
authorJakub Bogusz2018-06-14 19:57:54 (GMT)
committerJakub Bogusz2018-06-14 19:57:54 (GMT)
commitf39a7b866660f94b66fdff151f4e5a436a60aff6 (patch)
tree6b1d1e1b7dc4a4e5ec4a51f06427f811b1a783ba /mp4v2.spec
parentdaf961300feff0c19c621a04685520a9aeaad59e (diff)
downloadmp4v2-f39a7b866660f94b66fdff151f4e5a436a60aff6.zip
mp4v2-f39a7b866660f94b66fdff151f4e5a436a60aff6.tar.gz
- new URLs, updated to 3.0.3.0
- added doc patch (fixes texi -> txt docs build)
Diffstat (limited to 'mp4v2.spec')
-rw-r--r--mp4v2.spec24
1 files changed, 16 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