Blame SPECS/sat4j.spec

9eef24
# should be consistent across one release
9eef24
%global build_date 20130405
9eef24
9eef24
Name:           sat4j
9eef24
Version:        2.3.5
9eef24
Release:        19%{?dist}
9eef24
Summary:        A library of SAT solvers written in Java
9eef24
9eef24
License:        EPL-1.0 or LGPLv2
9eef24
URL:            http://www.sat4j.org/
9eef24
# Created by sh sat4j-fetch.sh
9eef24
Source0:        sat4j-%{version}.tar.xz
9eef24
Source1:        sat4j-fetch.sh
9eef24
9eef24
Patch0:         0001-Fix-runtime-classpath-and-minimum-BREE.patch
9eef24
9eef24
BuildRequires:  ant
9eef24
BuildRequires:  javapackages-local
9eef24
9eef24
BuildArch:      noarch
9eef24
9eef24
%description
9eef24
The aim of the SAT4J library is to provide an efficient library of SAT
9eef24
solvers in Java. The SAT4J library targets first users of SAT "black
9eef24
boxes", those willing to embed SAT technologies into their application
9eef24
without worrying about the details.
9eef24
9eef24
%prep
9eef24
%setup -q -n sat4j-%{version}
9eef24
%patch0 -p1
9eef24
9eef24
%build
9eef24
export ANT_OPTS="-Dfile.encoding=iso-8859-1"
9eef24
ant -Dbuild.compiler=modern -Drelease=%{version} \
9eef24
 -Dtarget=1.8 -Dsource=1.8 -DBUILD_DATE=%{build_date} p2
9eef24
9eef24
%mvn_artifact "org.ow2.sat4j:org.ow2.sat4j.core::%{version}" dist/%{version}/org.sat4j.core.jar
9eef24
%mvn_artifact "org.ow2.sat4j:org.ow2.sat4j.pb::%{version}" dist/%{version}/org.sat4j.pb.jar
9eef24
%mvn_file ":org.ow2.sat4j.core" org.sat4j.core
9eef24
%mvn_file ":org.ow2.sat4j.pb" org.sat4j.pb
9eef24
9eef24
%install
9eef24
%mvn_install
9eef24
9eef24
%files -f .mfiles
9eef24
# No %%doc files as the about.html is in the jar
9eef24
9eef24
%changelog
9eef24
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 2.3.5-19
9eef24
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
9eef24
9eef24
* Thu Jun 18 2020 Mat Booth <mat.booth@redhat.com> - 2.3.5-18
9eef24
- Allow building on Java 11
9eef24
9eef24
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-17
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9eef24
9eef24
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-16
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9eef24
9eef24
* Tue Jun 11 2019 Mat Booth <mat.booth@redhat.com> - 2.3.5-15
9eef24
- Fix license tag
9eef24
9eef24
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-14
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9eef24
9eef24
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-13
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9eef24
9eef24
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-12
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9eef24
9eef24
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-11
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9eef24
9eef24
* Tue Jun 20 2017 Mat Booth <mat.booth@redhat.com> - 2.3.5-10
9eef24
- Install with xmvn
9eef24
9eef24
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-9
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9eef24
9eef24
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-8
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9eef24
9eef24
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.5-7
9eef24
- Add build-requires on javapackages-local
9eef24
9eef24
* Mon Jun 22 2015 Mat Booth <mat.booth@redhat.com> - 2.3.5-6
9eef24
- Remove SCL macros and tidy spec
9eef24
9eef24
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-5
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9eef24
9eef24
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-4
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9eef24
9eef24
* Fri Feb 21 2014 Alexander Kurtakov <akurtako@redhat.com> 2.3.5-3
9eef24
- Remove useless parts.
9eef24
- Require java-headless.
9eef24
9eef24
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-2
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9eef24
9eef24
* Wed May 29 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.3.5-1
9eef24
- Update to latest upstream.
9eef24
9eef24
* Fri May 10 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.3.4-1
9eef24
- Update to latest upstream.
9eef24
9eef24
* Wed Apr 17 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.3.3-7
9eef24
- Remove jars from source.
9eef24
9eef24
* Fri Apr 5 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.3.0-6
9eef24
- Update to 2.3.3
9eef24
- Initial sclization.
9eef24
9eef24
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-5
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9eef24
9eef24
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-4
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9eef24
9eef24
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-3
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9eef24
9eef24
* Thu Aug 25 2011 Andrew Overholt <overholt@redhat.com> 2.3.0-2
9eef24
- Make 1.5-level bytecode.  This enables bootstrapping of Eclipse
9eef24
  with OpenJDK 7.
9eef24
9eef24
* Mon Apr 04 2011 Chris Aniszczyk <zx@redhat.com> 2.3.0-1
9eef24
- Update to 2.3.0.
9eef24
9eef24
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9eef24
9eef24
* Thu Jul 8 2010 Alexander Kurtakov <akurtako@redhat.com> 2.2.0-1
9eef24
- Update to 2.2.0.
9eef24
9eef24
* Tue Mar 30 2010 Andrew Overholt <overholt@redhat.com> 2.1.1-3
9eef24
- Fix license tag
9eef24
9eef24
* Fri Mar 26 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.1-2
9eef24
- Switch to lzma tarball.
9eef24
- Remove classpath in manifest.
9eef24
9eef24
* Sun Mar 7 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.1-1
9eef24
- Update to 2.1.1.
9eef24
9eef24
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-1
9eef24
- Update to 2.1.0 final.
9eef24
9eef24
* Wed Apr 8 2009 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-0.1.rc2
9eef24
- Update to 2.1.0.RC2.
9eef24
9eef24
* Thu Feb 26 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.3-1
9eef24
- Update to 2.0.3.
9eef24
9eef24
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
9eef24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9eef24
9eef24
* Thu Aug 28 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-7
9eef24
- eclipse_base is now libdir/eclipse
9eef24
9eef24
* Tue Jul 15 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-6
9eef24
- Build with OpenJDK (java.util.Scanner)
9eef24
9eef24
* Tue Jul 15 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-5
9eef24
- Use sed instead of dos2unix
9eef24
9eef24
* Mon Jul 14 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-4
9eef24
- Remove jmock JARs
9eef24
- Don't run tests as part of build
9eef24
9eef24
* Mon Jul 14 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-3
9eef24
- Remove Class-Path from pb MANIFEST.MF
9eef24
9eef24
* Mon Jul 14 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-2
9eef24
- Add eclipse-pde BR for pdebuild script
9eef24
9eef24
* Fri Jun 27 2008 Andrew Overholt <overholt@redhat.com> 2.0.0-1
9eef24
- 2.0.0
9eef24
- Run tests
9eef24
9eef24
* Thu Mar 13 2008 Andrew Overholt <overholt@redhat.com> 2.0-0.1.RC5
9eef24
- Initial version