2f938c
Name: sac
2f938c
Version: 1.3
2a18fc
Release: 30%{?dist}
2f938c
Summary: Java standard interface for CSS parser
2f938c
License: W3C
2f938c
#Original source: http://www.w3.org/2002/06/%{name}java-%{version}.zip
2f938c
#unzip, find . -name "*.jar" -exec rm {} \;
2f938c
#to simplify the licensing
2f938c
Source0: %{name}java-%{version}-jarsdeleted.zip
2f938c
Source1: %{name}-build.xml
2f938c
Source2: %{name}-MANIFEST.MF
2f938c
Source3: https://repo1.maven.org/maven2/org/w3c/css/sac/1.3/sac-1.3.pom
2f938c
URL: http://www.w3.org/Style/CSS/SAC/
2f938c
2f938c
BuildRequires: ant
2f938c
BuildRequires: javapackages-local
2f938c
2f938c
BuildArch: noarch
2f938c
2f938c
%description
2f938c
SAC is a standard interface for CSS parsers, intended to work with CSS1, CSS2,
2f938c
CSS3 and other CSS derived languages.
2f938c
2f938c
%package javadoc
2f938c
Summary: Javadoc for %{name}
2f938c
2f938c
%description javadoc
2f938c
Javadoc for %{name}.
2f938c
2f938c
%prep
2f938c
%setup -q
2f938c
install -m 644 %{SOURCE1} build.xml
2f938c
find . -name "*.jar" -exec rm -f {} \;
2f938c
2f938c
%build
2f938c
ant jar javadoc
2f938c
2f938c
# inject OSGi manifest
2f938c
jar ufm build/lib/sac.jar %{SOURCE2}
2f938c
2f938c
%install
2f938c
%mvn_artifact %{SOURCE3} build/lib/sac.jar
2f938c
%mvn_file ":sac" sac
2f938c
%mvn_install -J build/api
2f938c
2f938c
%files -f .mfiles
2f938c
%license COPYRIGHT.html
2f938c
2f938c
%files javadoc -f .mfiles-javadoc
2f938c
%license COPYRIGHT.html
2f938c
2f938c
%changelog
2a18fc
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-30
2a18fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2a18fc
2a18fc
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-29
2a18fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2a18fc
2f938c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-28
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2f938c
2f938c
* Mon Sep 25 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-27
2f938c
- Elimitate race condition when injecting JAR manifest
2f938c
- Resolves: rhbz#1495242
2f938c
2f938c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-26
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2f938c
2f938c
* Tue Jun 27 2017 Mat Booth <mat.booth@redhat.com> - 1.3-25
2f938c
- Spec file modernisation to fix FTBFS
2f938c
2f938c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-24
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2f938c
2f938c
* Tue Feb 23 2016 Sopot Cela <scela@redhat.com> - 1.3-23
2f938c
- Changed broken Source3: URL
2f938c
2f938c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-22
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2f938c
2f938c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-21
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2f938c
2f938c
* Tue Jun 10 2014 David Tardon <dtardon@redhat.com> - 1.3-20
2f938c
- Resolves: rhbz#1107270 fix FTBFS
2f938c
2f938c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-19
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2f938c
2f938c
* Tue Feb 25 2014 Caolán McNamara <caolanm@redhat.com> - 1.3-18
2f938c
- Resolves: rhbz#1068513 switch to java-headless (build)requires
2f938c
2f938c
* Wed Aug 21 2013 Mat Booth <fedora@matbooth.co.uk> - 1.3-17
2f938c
- Update for newer guidelines, rhbz #993211
2f938c
2f938c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-16
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2f938c
2f938c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-15
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2f938c
2f938c
* Wed Nov 07 2012 Caolán McNamara <caolanm@redhat.com> - 1.3-14
2f938c
- repack zip to drop jars
2f938c
2f938c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-13
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2f938c
2f938c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-12
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2f938c
2f938c
* Thu Jun 23 2011 Caolán McNamara <caolanm@redhat.com> - 1.3-11
2f938c
- Resolves: rhbz#715875 FTBFS
2f938c
2f938c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-10
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2f938c
2f938c
* Tue Dec 21 2010 Alexander Kurtakov <akurtako@redhat.com> 1.3-9
2f938c
- Drop gcj.
2f938c
- Adapt to current guidelines.
2f938c
2f938c
* Thu Jul 08 2010 Caolán McNamara <caolanm@redhat.com> - 1.3-8
2f938c
- add COPYING to all subpackages
2f938c
2f938c
* Mon May 31 2010 Ville Skyttä <ville.skytta@iki.fi> - 1.3-7
2f938c
- Fix spelling of my surname in %%changelog.
2f938c
2f938c
* Wed Mar 24 2010 Alexander Kurtakov <akurtako@redhat.com> 1.3-6
2f938c
- Add maven pom and metadata.
2f938c
2f938c
* Fri Jul 24 2009 Caolán McNamara <caolanm@redhat.com> - 1.3-5
2f938c
- make javadoc no-arch when building as arch-dependant aot
2f938c
2f938c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4.3
2f938c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2f938c
2f938c
* Fri Feb 6 2009 Alexander Kurtakov <akurtako@redhat.com> 1.3-3.3
2f938c
- Add osgi manifest (needed by eclipse-birt).
2f938c
2f938c
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-3.2
2f938c
- drop repotag
2f938c
2f938c
* Fri May 09 2008 Caolán McNamara <caolanm@redhat.com> 1.3-3jpp.1
2f938c
- update for guidelines
2f938c
2f938c
* Sat May 03 2008 Caolán McNamara <caolanm@redhat.com> 1.3-3jpp
2f938c
- import from jpackage
2f938c
2f938c
* Fri Sep 03 2004 Fernando Nasser <fnasser@redhat.com> 1.3-3jpp
2f938c
- Rebuild with Ant 1.6.2
2f938c
2f938c
* Tue May 06 2003 David Walluck <david@anti-microsoft.org> 1.3-2jpp
2f938c
- update for JPackage 1.5
2f938c
2f938c
* Thu Jul 11 2002 Ville Skyttä <ville.skytta@iki.fi> 1.3-1jpp
2f938c
- Update to 1.3.
2f938c
- Use sed instead of bash 2 extension when symlinking jars during build.
2f938c
- Add Distribution tag, fix URL, tweak Summary and description.
2f938c
2f938c
* Wed Feb 06 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-1jpp 
2f938c
- first jpp release