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