- Cleanup to build on SLE11
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlatexmath?expand=0&rev=3
This commit is contained in:
parent
ee1f932106
commit
89133bd5d1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 27 14:26:28 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup to build on SLE11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 20 11:09:53 UTC 2014 - badshah400@gmail.com
|
Thu Mar 20 11:09:53 UTC 2014 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -22,19 +22,17 @@ Release: 0
|
|||||||
Summary: Java API to display mathematical formulas written in LaTeX
|
Summary: Java API to display mathematical formulas written in LaTeX
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
Url: http://forge.scilab.org/index.php/p/jlatexmath/
|
Url: http://forge.scilab.org/index.php/p/jlatexmath/
|
||||||
Source0: http://forge.scilab.org/index.php/p/jlatexmath/downloads/get/%{name}-src-all-%{version}.zip
|
Source0: http://forge.scilab.org/index.php/p/jlatexmath/downloads/get/%{name}-src-all-%{version}.zip
|
||||||
Source1: patched_fop.properties
|
Source1: patched_fop.properties
|
||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
BuildRequires: xmlgraphics-fop
|
||||||
Requires: java
|
Requires: java
|
||||||
Requires: jpackage-utils
|
Requires: javapackages-tools
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,15 +44,9 @@ JLaTeXMath is a fork of the excellent project JMathTeX.
|
|||||||
%package fop
|
%package fop
|
||||||
Summary: FOP plug-in for %{name}
|
Summary: FOP plug-in for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
BuildRequires: ant
|
|
||||||
BuildRequires: fop
|
|
||||||
BuildRequires: java-devel
|
|
||||||
BuildRequires: jpackage-utils
|
|
||||||
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: fop
|
Requires: javapackages-tools
|
||||||
Requires: jpackage-utils
|
Requires: xmlgraphics-fop
|
||||||
|
|
||||||
%description fop
|
%description fop
|
||||||
This package contains the FOP plug-in for %{name}.
|
This package contains the FOP plug-in for %{name}.
|
||||||
@ -63,7 +55,6 @@ This package contains the FOP plug-in for %{name}.
|
|||||||
Summary: API Documentation for %{name}
|
Summary: API Documentation for %{name}
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: jpackage-utils
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
This package contains the API documentation for %{name}.
|
This package contains the API documentation for %{name}.
|
||||||
@ -72,7 +63,7 @@ This package contains the API documentation for %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
rm fop.properties
|
rm fop.properties
|
||||||
%__cp -a %{SOURCE1} fop.properties
|
cp -a %{SOURCE1} fop.properties
|
||||||
|
|
||||||
find -name '*.class' -exec rm -f '{}' \;
|
find -name '*.class' -exec rm -f '{}' \;
|
||||||
find -name '*.jar' -exec rm -f '{}' \;
|
find -name '*.jar' -exec rm -f '{}' \;
|
||||||
@ -87,12 +78,12 @@ ant doc
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
mkdir -p %{buildroot}%{_javadir}
|
||||||
cp -p dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
cp -p dist/%{name}-fop-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-fop.jar
|
cp -p dist/%{name}-fop-%{version}.jar %{buildroot}%{_javadir}/%{name}-fop.jar
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -rp doc/ $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
cp -rp doc/ %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user