From 73cf3a85579ce263dd4abea2d45f1ba084bc6726 Mon Sep 17 00:00:00 2001 From: gil Date: Sat, 6 Jan 2024 00:10:57 +0100 Subject: [PATCH] rebuilt devel [release 1.3-3mamba;Mon Dec 13 2010] --- README.md | 2 + java-sac-1.3-BUNDLE-MANIFEST.MF | 10 ++++ java-sac-1.3-build.xml | 66 ++++++++++++++++++++++ java-sac.spec | 99 +++++++++++++++++++++++++++++++++ sac-1.3.pom | 31 +++++++++++ 5 files changed, 208 insertions(+) create mode 100644 java-sac-1.3-BUNDLE-MANIFEST.MF create mode 100644 java-sac-1.3-build.xml create mode 100644 java-sac.spec create mode 100644 sac-1.3.pom diff --git a/README.md b/README.md index e7a435b..88a25a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # java-sac +SAC is a standard interface for CSS parser and supposed to work with CSS1, CSS2, CSS3 (currently under development) and other CSS derived languages. + diff --git a/java-sac-1.3-BUNDLE-MANIFEST.MF b/java-sac-1.3-BUNDLE-MANIFEST.MF new file mode 100644 index 0000000..5166380 --- /dev/null +++ b/java-sac-1.3-BUNDLE-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/java-sac-1.3-build.xml b/java-sac-1.3-build.xml new file mode 100644 index 0000000..23a2899 --- /dev/null +++ b/java-sac-1.3-build.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java-sac.spec b/java-sac.spec new file mode 100644 index 0000000..21aa725 --- /dev/null +++ b/java-sac.spec @@ -0,0 +1,99 @@ +Name: java-sac +Version: 1.3 +Release: 3mamba +Summary: The Simple API for CSS +Group: System/Libraries/Java +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.w3.org/Style/CSS/SAC/ +Source0: http://www.w3.org/2002/06/sacjava-%{version}.zip +Source1: java-sac-%{version}-build.xml +Source2: http://repository.jboss.com/maven2/org/w3c/css/sac/%{version}/sac-%{version}.pom +Source3: java-sac-%{version}-BUNDLE-MANIFEST.MF +License: W3C +BuildRequires: apache-ant +BuildRequires: jpackage-utils +Requires: jpackage-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +SAC is a standard interface for CSS parser and supposed to work with CSS1, CSS2, CSS3 (currently under development) and other CSS derived languages. + +%package javadoc +Group: Documentation +Summary: Javadoc for %{name} + +%description javadoc +SAC is a standard interface for CSS parser and supposed to work with CSS1, CSS2, CSS3 (currently under development) and other CSS derived languages. + +This package contains javadoc for %{name}. + +%prep +%setup -q -n sac-%{version} + +for j in $(find . -name "*.jar"); do + mv $j ${j}.no +done + +cp -pr %{S:1} build.xml +chmod -R go=u-w * + +%build +ant jar +ant javadoc + +mkdir -p META-INF +cp -p %{SOURCE3} META-INF/MANIFEST.MF +touch META-INF/MANIFEST.MF +zip -u build/lib/sac.jar META-INF/MANIFEST.MF + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +mkdir -p %{buildroot}%{_javadir} +install -pm 644 build/lib/sac.jar \ + %{buildroot}%{_javadir}/sac-%{version}.jar + +( + cd %{buildroot}%{_javadir} + ln -sf sac-%{version}.jar sac.jar +) + +mkdir -p %{buildroot}%{_datadir}/maven2/poms +install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/maven2/poms/JPP-sac.pom +%add_to_maven_depmap org.w3c.css sac %{version} JPP sac + +mkdir -p %{buildroot}%{_javadocdir}/sac +cp -pr build/api/* %{buildroot}%{_javadocdir}/sac + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%update_maven_depmap + +%postun +%update_maven_depmap + +%files +%defattr(0644,root,root,0755) +%{_javadir}/sac-%{version}.jar +%{_javadir}/sac.jar +%{_datadir}/maven2/poms +%{_mavendepmapfragdir} +%doc COPYRIGHT.html + +%files javadoc +%defattr(0644,root,root,0755) +%{_javadocdir}/sac + +%changelog +* Mon Dec 13 2010 gil 1.3-3mamba +- rebuilt devel + +* Wed Feb 10 2010 gil 1.3-2mamba +- added: bundle manifest; maven pom + +* Tue Jun 09 2009 gil 1.3-1mamba +- package created by autospec 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 + + +