File AtomicParsley.spec of Package AtomicParsley
#
# spec file for package AtomicParsley
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2017 Malcolm J Lewis <malcolmlewis@opensuse.org>
# Copyright (c) 2020-2022 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: AtomicParsley
Version: 20220214.7aa3686
Release: 0
Summary: Read and set iTunes-style metadata tags in MPEG-4/3GPP/3GPP2 files
License: GPL-2.0 and MIT and X11
Group: Productivity/Multimedia/Other
Url: https://bitbucket.org/wez/atomicparsley
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(zlib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
AtomicParsley is a lightweight command line program for reading, parsing
and setting metadata into MPEG-4 files supporting these styles of metadata:
* iTunes-style metadata into .mp4, .m4a, .m4p, .m4v, .m4b files
* 3gp-style assets (3GPP TS 26.444 version 6.4.0 Release 6 specification
conforming) in 3GPP, 3GPP2, MobileMP4 & derivatives.
* ISO copyright notices at movie & track level for MPEG-4 & derivative
files.
* uuid private user extension text & file embedding for MPEG-4 &
derivative files.
%prep
%setup -q
#Fix incorrect-fsf-address warnings
sed -i 's/59 Temple Place/51 Franklin Street/g' CREDITS
sed -i 's/Suite 330, Boston, MA 02111-1307, USA./Fifth Floor, Boston, MA 02110-1301 USA./g' CREDITS
sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./g' COPYING
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%defattr(-,root,root)
%doc Changes.txt COPYING CREDITS README.md
%{_bindir}/%{name}
%changelog