Blame SPECS/aqute-bndlib.spec

960d38
960d38
Name:           aqute-bndlib
960d38
Version:        1.50.0
960d38
Release:        8%{?dist}
960d38
Summary:        BND Library
960d38
License:        ASL 2.0
960d38
Group:          Development/Tools
960d38
URL:            http://www.aQute.biz/Code/Bnd
960d38
960d38
Source0:        http://repo1.maven.org/maven2/biz/aQute/bndlib/1.50.0/bndlib-1.50.0.jar
960d38
Source1:        http://repo1.maven.org/maven2/biz/aQute/bndlib/1.50.0/bndlib-1.50.0.pom
960d38
960d38
BuildArch:      noarch
960d38
960d38
BuildRequires:  jpackage-utils
960d38
BuildRequires:  java-devel
960d38
BuildRequires:  maven-local
960d38
BuildRequires:  maven-surefire-provider-junit4
960d38
960d38
%description
960d38
The bnd tool helps you create and diagnose OSGi R4 bundles.
960d38
The key functions are:
960d38
- Show the manifest and JAR contents of a bundle
960d38
- Wrap a JAR so that it becomes a bundle
960d38
- Create a Bundle from a specification and a class path
960d38
- Verify the validity of the manifest entries
960d38
The tool is capable of acting as:
960d38
- Command line tool
960d38
- File format
960d38
- Directives
960d38
- Use of macros
960d38
960d38
%package javadoc
960d38
Summary:        Javadoc for %{name}
960d38
Group:          Documentation
960d38
960d38
%description javadoc
960d38
API documentation for %{name}.
960d38
960d38
%prep
960d38
%setup -q -c
960d38
960d38
# fixing incomplete source directory structure
960d38
mkdir -p src/main/java target/classes
960d38
mv -f OSGI-OPT/src/* src/main/java/
960d38
960d38
# removing bundled classess & junk
960d38
rm -rf OSGI-OPT
960d38
rm -rf META-INF
960d38
rm -rf src/main/java/aQute/bnd/test
960d38
find . -iname '*.class' -delete
960d38
find . -iname 'packageinfo' -delete
960d38
960d38
# recycling all data files
960d38
mv -f aQute target/classes
960d38
mv -f org target/classes
960d38
960d38
# for building with maven
960d38
cp %{SOURCE1} pom.xml
960d38
960d38
# CR+LF -> LF
960d38
sed -i "s|\r||g" LICENSE
960d38
960d38
%mvn_file : %{name}
960d38
960d38
%build
960d38
export LC_ALL=en_US.UTF-8
960d38
%mvn_build
960d38
960d38
%install
960d38
%mvn_install
960d38
960d38
%files -f .mfiles
960d38
%doc LICENSE
960d38
960d38
%files javadoc -f .mfiles-javadoc
960d38
%doc LICENSE
960d38
960d38
%changelog
960d38
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.50.0-8
960d38
- Mass rebuild 2013-12-27
960d38
960d38
* Tue Aug 27 2013 Michal Srb <msrb@redhat.com> - 1.50.0-7
960d38
- Migrate away from mvn-rpmbuild (Resolves: #997449)
960d38
960d38
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.50.0-6
960d38
- Rebuild to regenerate API documentation
960d38
- Resolves: CVE-2013-1571
960d38
960d38
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50.0-5
960d38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
960d38
960d38
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.50.0-4
960d38
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
960d38
- Replace maven BuildRequires with maven-local
960d38
960d38
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50.0-3
960d38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
960d38
960d38
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50.0-2
960d38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
960d38
960d38
* Wed Dec 21 2011 Jaromir Capik <jcapik@redhat.com> - 1.50.0-1
960d38
- Update to 1.50.0
960d38
960d38
* Fri Dec 02 2011 Jaromir Capik <jcapik@redhat.com> - 1.43.0-2
960d38
- Missing non-class files added
960d38
960d38
* Thu Sep 15 2011 Jaromir Capik <jcapik@redhat.com> - 1.43.0-1
960d38
- Update to 1.43.0
960d38
- Spec file changes according to the latest guidelines
960d38
960d38
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.0.363-4
960d38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
960d38
960d38
* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-3
960d38
- BR java-devel >= 1.6.0.
960d38
960d38
* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-2
960d38
- Fix FTBFS.
960d38
960d38
* Thu Sep 3 2009 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-1
960d38
- Update to 0.0.363.
960d38
960d38
* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 0:0.0.203-4.3
960d38
- Add LICENSE
960d38
- Clean up Group tag
960d38
960d38
* Mon Aug 17 2009 Andrew Overholt <overholt@redhat.com> 0:0.0.203-4.2
960d38
- Remove gcj support
960d38
960d38
* Wed May 20 2009 Fernando Nasser <fnasser@redhat.com> 0:0.0.203-4.1
960d38
- Remove unedded BRs at Andrew Overholt's recommendation
960d38
- Changed libdir to /usr/lib* at 'ajax' suggestion on irc to avoid
960d38
  noarch on 64-bit arches problem
960d38
960d38
* Fri Mar 20 2009 Yong Yang <yyang@redhat.com> 0.0.203-4
960d38
- rebuild with new maven2 2.0.8 built in bootstrap mode
960d38
- merge from JPP-6
960d38
960d38
* Tue Jan 15 2009 David Walluck <dwalluck@redhat.com> 0:0.0.203-3
960d38
- fix build
960d38
960d38
* Thu Jan 15 2009 Yong Yang <yyang@redhat.com> 0.0.203-3jpp.1
960d38
- Imported from dbhole's maven 2.0.8 packages, initial building
960d38
960d38
* Tue Mar 11 2008 Deepak Bhole <dbhole@redhat.com> 0.0.203-2jpp.1
960d38
- Import from JPackage + change per Fedora requirements
960d38
960d38
* Thu Feb 14 2008 Ralph Apel <r.apel@r-apel.de> - 0:0.0.203-2jpp
960d38
- Add several non class files to jar
960d38
960d38
* Mon Jan 07 2008 Ralph Apel <r.apel@r-apel.de> - 0:0.0.203-1jpp
960d38
- First release