rpms/constantine/F-9 constantine.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Conrad Meyer konradm at fedoraproject.org
Mon Dec 8 03:32:37 UTC 2008


Author: konradm

Update of /cvs/pkgs/rpms/constantine/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21920

Modified Files:
	.cvsignore sources 
Added Files:
	constantine.spec 
Log Message:
Import.


--- NEW FILE constantine.spec ---
Name:           constantine
Version:        0.4
Release:        2%{?dist}
Summary:        Platform Constants for Java
Group:          Development/Libraries
License:        MIT
URL:            http://kenai.com/projects/constantine/
Source0:        http://kenai.com/downloads/constantine/constantine-src-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

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


%description
Provides java values for common platform C constants (e.g. errno).


%prep
%setup -q
find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;


%build
ant jar


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p dist/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
pushd $RPM_BUILD_ROOT%{_javadir}/
ln -s %{name}-%{version}.jar %{name}.jar
popd

# This requires some hack to get junit in classpath that I'm not sure
# is worth it.
#%check
#ant test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE
%{_javadir}/*


%changelog
* Sat Dec 6 2008 Conrad Meyer <konrad at tylerc.org> - 0.4-2
- Include LICENSE in rpm.

* Fri Nov 28 2008 Conrad Meyer <konrad at tylerc.org> - 0.4-1
- Include symlink from non-versioned jar to versioned jar.
- Bump to 0.4.

* Fri Nov 28 2008 Conrad Meyer <konrad at tylerc.org> - 0.1-1
- Initial package (needed for jruby 1.1.5).


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/constantine/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2008 00:30:11 -0000	1.1
+++ .cvsignore	8 Dec 2008 03:32:06 -0000	1.2
@@ -0,0 +1 @@
+constantine-src-0.4.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/constantine/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2008 00:30:11 -0000	1.1
+++ sources	8 Dec 2008 03:32:06 -0000	1.2
@@ -0,0 +1 @@
+02ee0eee5449ac5f87884bddfb743567  constantine-src-0.4.zip




More information about the fedora-extras-commits mailing list