diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..013addb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sacjava-1.3-jarsdeleted.zip diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sac-1.3.pom b/sac-1.3.pom new file mode 100644 index 0000000..a6d8671 --- /dev/null +++ b/sac-1.3.pom @@ -0,0 +1,31 @@ + + 4.0.0 + org.w3c.css + sac + 1.3 + jar + Simple API for CSS + SAC is a standard interface for CSS parsers. + http://www.w3.org/Style/CSS/SAC/ + + World Wide Web Consortium + http://www.w3.org/ + + + + The W3C Software License + http://www.w3.org/Consortium/Legal/copyright-software-19980720 + + + + + www-style + http://lists.w3.org/Archives/Public/www-style/ + http://lists.w3.org/Archives/Public/www-style/ + http://lists.w3.org/Archives/Public/www-style/ + www-style@w3.org + + + diff --git a/sac-MANIFEST.MF b/sac-MANIFEST.MF new file mode 100644 index 0000000..5166380 --- /dev/null +++ b/sac-MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-RequiredExecutionEnvironment: J2SE-1.3,CDC-1.0/Foundation-1.0 +Bundle-SymbolicName: org.w3c.css.sac +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Localization: plugin +Bundle-Version: 1.3.0.v200805290154 +Bundle-Vendor: %providerName +Export-Package: org.w3c.css.sac;version="1.3.0",org.w3c.css.sac.helper + s;version="1.3.0" diff --git a/sac-build.xml b/sac-build.xml new file mode 100644 index 0000000..23a2899 --- /dev/null +++ b/sac-build.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sac.spec b/sac.spec new file mode 100644 index 0000000..fcc0c18 --- /dev/null +++ b/sac.spec @@ -0,0 +1,155 @@ +Name: sac +Version: 1.3 +Release: 28%{?dist} +Summary: Java standard interface for CSS parser +License: W3C +#Original source: http://www.w3.org/2002/06/%{name}java-%{version}.zip +#unzip, find . -name "*.jar" -exec rm {} \; +#to simplify the licensing +Source0: %{name}java-%{version}-jarsdeleted.zip +Source1: %{name}-build.xml +Source2: %{name}-MANIFEST.MF +Source3: https://repo1.maven.org/maven2/org/w3c/css/sac/1.3/sac-1.3.pom +URL: http://www.w3.org/Style/CSS/SAC/ + +BuildRequires: ant +BuildRequires: javapackages-local + +BuildArch: noarch + +%description +SAC is a standard interface for CSS parsers, intended to work with CSS1, CSS2, +CSS3 and other CSS derived languages. + +%package javadoc +Group: Development/Java +Summary: Javadoc for %{name} + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q +install -m 644 %{SOURCE1} build.xml +find . -name "*.jar" -exec rm -f {} \; + +%build +ant jar javadoc + +# inject OSGi manifest +jar ufm build/lib/sac.jar %{SOURCE2} + +%install +%mvn_artifact %{SOURCE3} build/lib/sac.jar +%mvn_file ":sac" sac +%mvn_install -J build/api + +%files -f .mfiles +%license COPYRIGHT.html + +%files javadoc -f .mfiles-javadoc +%license COPYRIGHT.html + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.3-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Sep 25 2017 Mikolaj Izdebski - 1.3-27 +- Elimitate race condition when injecting JAR manifest +- Resolves: rhbz#1495242 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.3-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 27 2017 Mat Booth - 1.3-25 +- Spec file modernisation to fix FTBFS + +* Sat Feb 11 2017 Fedora Release Engineering - 1.3-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Feb 23 2016 Sopot Cela - 1.3-23 +- Changed broken Source3: URL + +* Thu Feb 04 2016 Fedora Release Engineering - 1.3-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.3-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 10 2014 David Tardon - 1.3-20 +- Resolves: rhbz#1107270 fix FTBFS + +* Sun Jun 08 2014 Fedora Release Engineering - 1.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Feb 25 2014 Caolán McNamara - 1.3-18 +- Resolves: rhbz#1068513 switch to java-headless (build)requires + +* Wed Aug 21 2013 Mat Booth - 1.3-17 +- Update for newer guidelines, rhbz #993211 + +* Sun Aug 04 2013 Fedora Release Engineering - 1.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Nov 07 2012 Caolán McNamara - 1.3-14 +- repack zip to drop jars + +* Sat Jul 21 2012 Fedora Release Engineering - 1.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jun 23 2011 Caolán McNamara - 1.3-11 +- Resolves: rhbz#715875 FTBFS + +* Wed Feb 09 2011 Fedora Release Engineering - 1.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 21 2010 Alexander Kurtakov 1.3-9 +- Drop gcj. +- Adapt to current guidelines. + +* Thu Jul 08 2010 Caolán McNamara - 1.3-8 +- add COPYING to all subpackages + +* Mon May 31 2010 Ville Skyttä - 1.3-7 +- Fix spelling of my surname in %%changelog. + +* Wed Mar 24 2010 Alexander Kurtakov 1.3-6 +- Add maven pom and metadata. + +* Fri Jul 24 2009 Caolán McNamara - 1.3-5 +- make javadoc no-arch when building as arch-dependant aot + +* Wed Feb 25 2009 Fedora Release Engineering - 1.3-4.3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 6 2009 Alexander Kurtakov 1.3-3.3 +- Add osgi manifest (needed by eclipse-birt). + +* Thu Jul 10 2008 Tom "spot" Callaway 1.3-3.2 +- drop repotag + +* Fri May 09 2008 Caolán McNamara 1.3-3jpp.1 +- update for guidelines + +* Sat May 03 2008 Caolán McNamara 1.3-3jpp +- import from jpackage + +* Fri Sep 03 2004 Fernando Nasser 1.3-3jpp +- Rebuild with Ant 1.6.2 + +* Tue May 06 2003 David Walluck 1.3-2jpp +- update for JPackage 1.5 + +* Thu Jul 11 2002 Ville Skyttä 1.3-1jpp +- Update to 1.3. +- Use sed instead of bash 2 extension when symlinking jars during build. +- Add Distribution tag, fix URL, tweak Summary and description. + +* Wed Feb 06 2002 Guillaume Rousse 1.2-1jpp +- first jpp release diff --git a/sources b/sources new file mode 100644 index 0000000..048c164 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sacjava-1.3-jarsdeleted.zip) = 7ec0d055ce617161628b77de2a2eecc83e80c1ce622a20eaf9e79c0a1b427312eb264596362eb73abb4517c87817626139672bbbc1f3e7983f9581b2a61f4aa1