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..0b3a83b --- /dev/null +++ b/sac.spec @@ -0,0 +1,47 @@ +Name: sac +Version: 1.3 +Release: 1 +Summary: Java standard interface for CSS parser +License: W3C +URL: http://www.w3.org/Style/CSS/SAC/ +#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 +BuildRequires: ant 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 +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 +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 Aug 14 2020 wangxiao - 1.3-1 +- Package init diff --git a/sac.yaml b/sac.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/sac.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/sacjava-1.3-jarsdeleted.zip b/sacjava-1.3-jarsdeleted.zip new file mode 100644 index 0000000..9ea5855 Binary files /dev/null and b/sacjava-1.3-jarsdeleted.zip differ