update to 0.7

This commit is contained in:
gil 2015-04-07 03:37:14 +02:00
commit aeebc435f5
3 changed files with 13 additions and 9 deletions

View file

@ -2,27 +2,26 @@
%if 0%{?fedora}
%bcond_with tika
%endif
Name: vorbis-java
Version: 0.6
Release: 2%{?dist}
Version: 0.7
Release: 1%{?dist}
Summary: Ogg and Vorbis toolkit for Java
License: ASL 2.0
URL: https://github.com/Gagravarr/VorbisJava
Source0: https://github.com/Gagravarr/VorbisJava/archive/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
%if %{without tika}
BuildRequires: mvn(org.apache.tika:tika-core)
%endif
# test deps
BuildRequires: mvn(junit:junit)
BuildRequires: maven-local
BuildArch: noarch
%description
This library is a pure Java, for working with Ogg and
Vorbis files.
Vorbis, FLAC, Opus, Speex and Theora files.
%if %{without tika}
%package tika
@ -52,6 +51,7 @@ find . -name "*.jar" -delete
%if %{with tika}
%pom_disable_module tika
%pom_xpath_remove "pom:dependency[pom:scope = 'test']" tika
%endif
# disable embedded core copy
@ -59,7 +59,7 @@ find . -name "*.jar" -delete
%pom_remove_plugin :maven-gpg-plugin parent
%pom_remove_plugin :maven-source-plugin parent
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions" parent
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions" parent
%mvn_package :%{name} %{name}
%mvn_package :%{name}-parent %{name}
@ -90,6 +90,9 @@ find . -name "*.jar" -delete
%license LICENSE.txt NOTICE.txt
%changelog
* Tue Apr 07 2015 gil cattaneo <puntogil@libero.it> 0.7-1
- update to 0.7
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 0.6-2
- introduce license macro