diff --git a/java-sac-1.3-BUNDLE-MANIFEST.MF b/java-sac-1.3-BUNDLE-MANIFEST.MF
deleted file mode 100644
index 5166380..0000000
--- a/java-sac-1.3-BUNDLE-MANIFEST.MF
+++ /dev/null
@@ -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"
diff --git a/java-sac-1.3-build.xml b/java-sac-1.3-build.xml
deleted file mode 100644
index 23a2899..0000000
--- a/java-sac-1.3-build.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/java-sac.spec b/java-sac.spec
index 21aa725..5bf9626 100644
--- a/java-sac.spec
+++ b/java-sac.spec
@@ -1,94 +1,50 @@
Name: java-sac
Version: 1.3
-Release: 3mamba
+Release: 4mamba
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/
+URL: https://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
+## AUTOBUILDREQ-BEGIN
+## AUTOBUILDREQ-END
BuildRequires: apache-ant
-BuildRequires: jpackage-utils
-Requires: jpackage-utils
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: javapackages
+Requires: javapackages
%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 \
+install -pm 644 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
+ln -sf sac-%{version}.jar %{buildroot}%{_javadir}/sac.jar
%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
+* Thu Dec 02 2021 Silvan Calarco 1.3-4mamba
+- restored (libreoffice dependency)
+
* Mon Dec 13 2010 gil 1.3-3mamba
- rebuilt devel
diff --git a/sac-1.3.pom b/sac-1.3.pom
deleted file mode 100644
index a6d8671..0000000
--- a/sac-1.3.pom
+++ /dev/null
@@ -1,31 +0,0 @@
-
- 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
-
-
-