File AtomicParsley.spec of Package AtomicParsley

#
# spec file for package AtomicParsley (Version 0.9.0)
#
# Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, 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.

# norootforbuild

Summary: Command line program for reading, parsing and setting MPEG4 metadata
Name: AtomicParsley
Version: 0.9.0
Release: 1
Source0: %{name}-source-%{version}.tar.bz2
#Source1:  http://downloads.sourceforge.net/sourceforge/atomicparsley/%{name}-source-0.9.0.zip?use_mirror=hivelocity
#Patch0: %{name}-%{version}-fixcompile.patch
Patch1: %{name}-source-%{version}.patch
Vendor: %{vendor}
URL: http://atomicparsley.sourceforge.net/
License: GPL
Group: Productivity/Multimedia/Other
AutoReqProv: on
BuildRequires:  gcc-c++ libstdc++43-devel glibc-devel
Provides: atomicparsley
BuildRoot: %{_builddir}/%{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 and derivatives
    *   ISO copyright notices at movie and track
        level for MPEG-4 and derivative files
    *   uuid private user extension text and file
        embedding for MPEG-4 and derivative files

The MPEG-4 container is based on Apple's Quicktime
.mov container (just more sane) and there are a
number of similarites - as well as differences.

Each MPEG-4 file lists a "major file brand" that
broadly says which specification the file adheres
to. For example, an iTunes audio file typically
lists 'M4A ' as its major file brand, while a
3GPP2 .3g2 file has something like '3g2a'. It is
based on this major file brand that AtomicParsley
allows a style of metadata to be set.

Since there is nothing in the 3GPP2 specification
regarding iTunes-style metadata, its use is
prevented on such files. Similarly, a 3gp
'location' asset is not available for an iTMS
video file.


%prep
%setup -q -n %{name}-source-%{version}
#%patch0 -p1
%patch1 -p1


%build
./build
%debug_package


%install
%{__install} -d -m 0755 "%{buildroot}%{_bindir}" 
%{__cp} %{name} "%{buildroot}%{_bindir}" 

%{__install} -d -m 0755 "%{buildroot}%{_docdir}/%{name}" 
%{__cp} COPYING "%{buildroot}%{_docdir}/%{name}" 
%{__cp} "Using AtomicParsley.rtf" "%{buildroot}%{_docdir}/%{name}" 
 

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%doc COPYING 'Using AtomicParsley.rtf'


%changelog
* Sat Jul 18 2009 Mario GarcĂ­a H. <code933k@gmail.com> - 0.9.0-1
- Initial package.

openSUSE Build Service is sponsored by