#global commit 9a367bfe4902dbe7c24db4aed64b472e3651f39f #global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: jaudiotagger Version: 2.2.5 Release: 1%{?dist} Summary: Java audio tagging library License: LGPLv2+ URL: http://www.jthink.net/jaudiotagger/ Source0: https://bitbucket.org/ijabz/jaudiotagger/get/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local %description Jaudiotagger is the Audio Tagging library used by Jaikoz for tagging data in Audio files. It currently fully supports Mp3, Mp4 (Mp4 audio, M4a and M4p audio) Ogg Vorbis, Flac and Wma, there is limited support for Wav and Real formats. %package javadoc Summary: Javadoc for %{name} Group: Documentation %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n ijabz-%name-6e29a88e7964 find -name \*.jar -delete -print # https://bitbucket.org/ijabz/jaudiotagger/issues/110/issue411test-failure rm srctest/org/jaudiotagger/issues/Issue411Test.java # Invalid option in older java %if 0%{?rhel} && 0%{?rhel} <= 7 sed -i -e /-Xdoclint:none/d pom.xml %endif %build export LANG=en_US.UTF-8 %mvn_build %install %mvn_install %files -f .mfiles %{!?_licensedir:%global license %%doc} %license license.txt %doc README.txt %files javadoc -f .mfiles-javadoc %changelog * Sun Dec 13 2015 Orion Poplawski 2.2.5-1 - Update to 2.2.5 - Review fixes * Mon Jan 5 2015 Orion Poplawski 2.2.2-2.git9a367bf - Update to latest git * Tue Dec 9 2014 Orion Poplawski 2.2.2-1 - Update to 2.2.2 * Tue Jul 9 2013 Orion Poplawski 2.1.0-1 - Initial package