diff --git a/.aqute-bndlib.metadata b/.aqute-bndlib.metadata new file mode 100644 index 0000000..58b67d5 --- /dev/null +++ b/.aqute-bndlib.metadata @@ -0,0 +1 @@ +feec5ae93db362fcc6116db216629e5345b5ea6c SOURCES/bndlib-1.50.0.jar diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99917ab --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bndlib-1.50.0.jar diff --git a/SOURCES/bndlib-1.50.0.pom b/SOURCES/bndlib-1.50.0.pom new file mode 100644 index 0000000..bf1efe5 --- /dev/null +++ b/SOURCES/bndlib-1.50.0.pom @@ -0,0 +1,72 @@ + +<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd'> + <modelVersion> + 4.0.0 + </modelVersion> + <groupId> + biz.aQute + </groupId> + <artifactId> + bndlib + </artifactId> + <version> + 1.50.0 + </version> + <description> + A Swiss Army Knife for OSGi + </description> + <name> + bnd - Bundle Tool + </name> + <url> + http://www.aQute.biz/Code/Bnd + </url> + <scm> + <url> + git://github.com/bndtools/bnd.git + </url> + <connection> + git://github.com/bndtools/bnd.git + </connection> + <developerConnection> + git://github.com/bndtools/bnd.git + </developerConnection> + </scm> + <organization> + <name> + aQute SARL + </name> + <url> + http://www.aQute.biz + </url> + </organization> + <developers> + <developer> + <id> + Peter.Kriens@aQute.biz + </id> + <name> + Peter.Kriens + </name> + <email> + Peter.Kriens@aQute.biz + </email> + <organization> + aQute + </organization> + </developer> + </developers> + <licenses> + <license> + <name> + Apache Software License 2.0 + </name> + <url> + http://www.opensource.org/licenses/apache2.0.php + </url> + <distribution> + repo + </distribution> + </license> + </licenses> +</project> \ No newline at end of file diff --git a/SPECS/aqute-bndlib.spec b/SPECS/aqute-bndlib.spec new file mode 100644 index 0000000..56f44c4 --- /dev/null +++ b/SPECS/aqute-bndlib.spec @@ -0,0 +1,154 @@ + +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 <dmach@redhat.com> - 1.50.0-8 +- Mass rebuild 2013-12-27 + +* Tue Aug 27 2013 Michal Srb <msrb@redhat.com> - 1.50.0-7 +- Migrate away from mvn-rpmbuild (Resolves: #997449) + +* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.50.0-6 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 1.50.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 21 2011 Jaromir Capik <jcapik@redhat.com> - 1.50.0-1 +- Update to 1.50.0 + +* Fri Dec 02 2011 Jaromir Capik <jcapik@redhat.com> - 1.43.0-2 +- Missing non-class files added + +* Thu Sep 15 2011 Jaromir Capik <jcapik@redhat.com> - 1.43.0-1 +- Update to 1.43.0 +- Spec file changes according to the latest guidelines + +* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.0.363-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-3 +- BR java-devel >= 1.6.0. + +* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-2 +- Fix FTBFS. + +* Thu Sep 3 2009 Alexander Kurtakov <akurtako@redhat.com> 0:0.0.363-1 +- Update to 0.0.363. + +* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 0:0.0.203-4.3 +- Add LICENSE +- Clean up Group tag + +* Mon Aug 17 2009 Andrew Overholt <overholt@redhat.com> 0:0.0.203-4.2 +- Remove gcj support + +* Wed May 20 2009 Fernando Nasser <fnasser@redhat.com> 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 <yyang@redhat.com> 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 <dwalluck@redhat.com> 0:0.0.203-3 +- fix build + +* Thu Jan 15 2009 Yong Yang <yyang@redhat.com> 0.0.203-3jpp.1 +- Imported from dbhole's maven 2.0.8 packages, initial building + +* Tue Mar 11 2008 Deepak Bhole <dbhole@redhat.com> 0.0.203-2jpp.1 +- Import from JPackage + change per Fedora requirements + +* Thu Feb 14 2008 Ralph Apel <r.apel@r-apel.de> - 0:0.0.203-2jpp +- Add several non class files to jar + +* Mon Jan 07 2008 Ralph Apel <r.apel@r-apel.de> - 0:0.0.203-1jpp +- First release