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