Blame SPECS/aqute-bndlib.spec

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