[Jpackage-commits] dist/felix-osgi-core/devel .cvsignore, 1.1, 1.2 felix-osgi-core.spec, NONE, 1.1 sources, 1.1, 1.2

David Walluck david at ryu.zarb.org
Thu Dec 23 22:04:07 CET 2010


Update of /home/projects/jpackage/cvs/dist/felix-osgi-core/devel
In directory ryu.zarb.org:/tmp/cvs-serv17289/devel

Modified Files:
	.cvsignore sources 
Added Files:
	felix-osgi-core.spec 
Log Message:
- initial import

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/felix-osgi-core/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	23 Dec 2010 21:02:35 -0000	1.1
--- .cvsignore	23 Dec 2010 21:04:05 -0000	1.2
***************
*** 0 ****
--- 1,2 ----
+ felix-osgi-core-1.4.0-build.xml.tar.gz
+ org.osgi.core-1.4.0-project.tar.gz

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/felix-osgi-core/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	23 Dec 2010 21:02:35 -0000	1.1
--- sources	23 Dec 2010 21:04:05 -0000	1.2
***************
*** 0 ****
--- 1,2 ----
+ b3f2cf0254e31eb85fc63e5b0acb4677  felix-osgi-core-1.4.0-build.xml.tar.gz
+ 309a1c3be449ecc280c078e2d9cde920  org.osgi.core-1.4.0-project.tar.gz

--- NEW FILE: felix-osgi-core.spec ---
%global bundle org.osgi.core

Name:    felix-osgi-core
Version: 1.4.0
Release: 5%{?dist}
Summary: Felix OSGi R4 Core Bundle

Group:   Development/Libraries
License: ASL 2.0
URL:     http://felix.apache.org/site/apache-felix-osgi-core.html
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
Source1: %{name}-%{version}-build.xml.tar.gz

BuildArch: noarch

BuildRequires: java-devel >= 1:1.6.0
BuildRequires: ant
BuildRequires: jpackage-utils

Requires: java >= 1:1.6.0

Requires(post):   jpackage-utils
Requires(postun): jpackage-utils

%description
OSGi Service Platform Release 4 Core Interfaces and Classes.

%package javadoc
Group:          Documentation
Summary:        Javadoc for %{name}
Requires:       jpackage-utils

%description javadoc
API documentation for %{name}.

%prep
%setup -q -n %{bundle}-%{version}

tar xf %{SOURCE1}

%__mkdir_p .m2/repository

%build
%ant -Dmaven.settings.offline=true \
     -Dmaven.repo.local=.m2/repository \
     package javadoc

%install
# jars
install -d -m 0755 %{buildroot}%{_javadir}/felix
install -m 644 target/%{bundle}-%{version}.jar \
        %{buildroot}%{_javadir}/felix/%{bundle}.jar

%add_to_maven_depmap org.apache.felix %{bundle} %{version} JPP/felix %{bundle}

# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP.felix-%{bundle}.pom

# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
%__cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(-,root,root,-)
%doc LICENSE
%{_javadir}/felix
%{_mavenpomdir}/JPP.felix-%{bundle}.pom
%{_mavendepmapfragdir}/%{name}

%files javadoc
%defattr(-,root,root,-)
%doc LICENSE
%{_javadocdir}/%{name}

%changelog
* Wed Dec 15 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.4.0-5
- Remove felix-parent from Requires to prevent pulling maven in

* Tue Dec 14 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.4.0-4
- Add felix-parent to Requires (maven builds require this)
- Add license and jpackage-utils Requires to javadoc subpackage
- Use mavenpomdir macro

* Mon Dec 13 2010 Alexander Kurtakov <akurtako at redhat.com> 1.4.0-3
- Fix pom name.
- Adapt to current guidelines.

* Tue Jun 29 2010 Victor G. Vasilyev <victor.vasilyev at sun.com> 1.4.0-2
- Modify maven-build.xml to include MANIFEST.MF into JAR

* Tue Jun 22 2010 Victor G. Vasilyev <victor.vasilyev at sun.com> 1.4.0-1
- Update felix-osgi-core-1.4.0-build.xml.tar.gz
- Use the macros style
- Release 1.4.0

* Thu Sep 3 2009 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-2
- Fix line length.

* Thu Sep 3 2009 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-1
- Initial package.




More information about the JPackage-commits mailing list