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