Blame SPECS/sat4j.spec

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