restored (libreoffice dependency) [release 1.3-4mamba;Thu Dec 02 2021]
This commit is contained in:
parent
73cf3a8557
commit
35b5c60049
@ -1,10 +0,0 @@
|
|||||||
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"
|
|
@ -1,66 +0,0 @@
|
|||||||
<!-- simple generic build file -->
|
|
||||||
|
|
||||||
<project name="sac" default="all" basedir=".">
|
|
||||||
|
|
||||||
<!-- Properties -->
|
|
||||||
|
|
||||||
<property name="name" value="sac"/>
|
|
||||||
<property name="src" value="src"/>
|
|
||||||
<property name="build" value="build"/>
|
|
||||||
<property name="build.classes" value="${build}/classes"/>
|
|
||||||
<property name="build.doc" value="${build}/api"/>
|
|
||||||
<property name="build.lib" value="${build}/lib"/>
|
|
||||||
<property name="packagenames" value="org.w3c.css.sac.*"/>
|
|
||||||
|
|
||||||
<!-- Targets -->
|
|
||||||
|
|
||||||
<!-- Prepare build directories -->
|
|
||||||
<target name="prepare">
|
|
||||||
<mkdir dir="${src}"/>
|
|
||||||
<mkdir dir="${build}"/>
|
|
||||||
<mkdir dir="${build.classes}"/>
|
|
||||||
<mkdir dir="${build.lib}"/>
|
|
||||||
<mkdir dir="${build.doc}"/>
|
|
||||||
<copy todir="${src}/org">
|
|
||||||
<fileset dir="org"/>
|
|
||||||
</copy>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Kill all the created directories -->
|
|
||||||
<target name="clean">
|
|
||||||
<delete dir="${build}"/>
|
|
||||||
<delete dir="${src}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Build classes -->
|
|
||||||
<target name="classes" depends="prepare">
|
|
||||||
<javac srcdir="${src}" destdir="${build.classes}" debug="off" optimize="on"/>
|
|
||||||
<copy todir="${build.classes}">
|
|
||||||
<fileset dir="${src}">
|
|
||||||
<include name="**/*.properties"/>
|
|
||||||
</fileset>
|
|
||||||
</copy>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Build jar archives -->
|
|
||||||
<target name="jar" depends="classes">
|
|
||||||
<jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Build the full JavaDocs -->
|
|
||||||
<target name="javadoc" depends="prepare">
|
|
||||||
<javadoc sourcepath="${src}"
|
|
||||||
destdir="${build.doc}"
|
|
||||||
doctitle="${name} JavaDoc"
|
|
||||||
windowtitle="${name} JavaDoc"
|
|
||||||
package="true"
|
|
||||||
author="true"
|
|
||||||
version="true"
|
|
||||||
packagenames="${packagenames}"
|
|
||||||
/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Build everything -->
|
|
||||||
<target name="all" depends="jar,javadoc"/>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,94 +1,50 @@
|
|||||||
Name: java-sac
|
Name: java-sac
|
||||||
Version: 1.3
|
Version: 1.3
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: The Simple API for CSS
|
Summary: The Simple API for CSS
|
||||||
Group: System/Libraries/Java
|
Group: System/Libraries/Java
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.w3.org/Style/CSS/SAC/
|
URL: https://www.w3.org/Style/CSS/SAC/
|
||||||
Source0: http://www.w3.org/2002/06/sacjava-%{version}.zip
|
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
|
License: W3C
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: apache-ant
|
BuildRequires: apache-ant
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: javapackages
|
||||||
Requires: jpackage-utils
|
Requires: javapackages
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%prep
|
||||||
%setup -q -n sac-%{version}
|
%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
|
%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
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
mkdir -p %{buildroot}%{_javadir}
|
||||||
install -pm 644 build/lib/sac.jar \
|
install -pm 644 sac.jar \
|
||||||
%{buildroot}%{_javadir}/sac-%{version}.jar
|
%{buildroot}%{_javadir}/sac-%{version}.jar
|
||||||
|
|
||||||
(
|
ln -sf sac-%{version}.jar %{buildroot}%{_javadir}/sac.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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_javadir}/sac-%{version}.jar
|
%{_javadir}/sac-%{version}.jar
|
||||||
%{_javadir}/sac.jar
|
%{_javadir}/sac.jar
|
||||||
%{_datadir}/maven2/poms
|
|
||||||
%{_mavendepmapfragdir}
|
|
||||||
%doc COPYRIGHT.html
|
%doc COPYRIGHT.html
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadocdir}/sac
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-4mamba
|
||||||
|
- restored (libreoffice dependency)
|
||||||
|
|
||||||
* Mon Dec 13 2010 gil <puntogil@libero.it> 1.3-3mamba
|
* Mon Dec 13 2010 gil <puntogil@libero.it> 1.3-3mamba
|
||||||
- rebuilt devel
|
- rebuilt devel
|
||||||
|
|
||||||
|
31
sac-1.3.pom
31
sac-1.3.pom
@ -1,31 +0,0 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>org.w3c.css</groupId>
|
|
||||||
<artifactId>sac</artifactId>
|
|
||||||
<version>1.3</version>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
<name>Simple API for CSS</name>
|
|
||||||
<description>SAC is a standard interface for CSS parsers.</description>
|
|
||||||
<url>http://www.w3.org/Style/CSS/SAC/</url>
|
|
||||||
<organization>
|
|
||||||
<name>World Wide Web Consortium</name>
|
|
||||||
<url>http://www.w3.org/</url>
|
|
||||||
</organization>
|
|
||||||
<licenses>
|
|
||||||
<license>
|
|
||||||
<name>The W3C Software License</name>
|
|
||||||
<url>http://www.w3.org/Consortium/Legal/copyright-software-19980720</url>
|
|
||||||
</license>
|
|
||||||
</licenses>
|
|
||||||
<mailingLists>
|
|
||||||
<mailingList>
|
|
||||||
<name>www-style</name>
|
|
||||||
<subscribe>http://lists.w3.org/Archives/Public/www-style/</subscribe>
|
|
||||||
<unsubscribe>http://lists.w3.org/Archives/Public/www-style/</unsubscribe>
|
|
||||||
<archive>http://lists.w3.org/Archives/Public/www-style/</archive>
|
|
||||||
<post>www-style@w3.org</post>
|
|
||||||
</mailingList>
|
|
||||||
</mailingLists>
|
|
||||||
</project>
|
|
Loading…
Reference in New Issue
Block a user