rpms/jBCrypt/F-13 import.log, NONE, 1.1 jBCrypt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sebastian Dziallas sdz at fedoraproject.org
Wed Jun 23 12:52:59 UTC 2010


Author: sdz

Update of /cvs/pkgs/rpms/jBCrypt/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15971/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log jBCrypt.spec 
Log Message:
initial import



--- NEW FILE import.log ---
jBCrypt-0_3-3_fc13:F-13:jBCrypt-0.3-3.fc13.src.rpm:1277297548


--- NEW FILE jBCrypt.spec ---
Name:           jBCrypt
Version:        0.3
Release:        3%{?dist}
Summary:        Strong password hashing for Java

Group:          Development/Libraries
License:        ISC
URL:            http://www.mindrot.org/projects/jBCrypt/
Source0:        http://www.mindrot.org/files/jBCrypt/jBCrypt-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  java-devel
BuildRequires:  jpackage-utils
BuildRequires:  junit

Requires:       java
Requires:       jpackage-utils  

%description
A Java implementation of OpenBSD's Blowfish password hashing code. 


%prep
%setup -q


%build
javac BCrypt.java
jar cvf jBCrypt.jar BCrypt.class

# compile test cases too
javac -cp %{_javadir}/junit.jar:jBCrypt.jar TestBCrypt.java
jar cvf jBCrypt-test.jar TestBCrypt.class


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp jBCrypt.jar $RPM_BUILD_ROOT%{_javadir}/jBCrypt.jar


%check
java -cp %{_javadir}/junit.jar:jBCrypt.jar:jBCrypt-test.jar TestBCrypt


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_javadir}/%{name}.jar


%changelog
* Tue Jun 22 2010 Sebastian Dziallas <sebastian at when.com> - 0.3-3
- follow upstream naming for the package
- add %check section and compile tests

* Thu Jun 17 2010 Sebastian Dziallas <sebastian at when.com> - 0.3-2
- let's package the class file instead of the jar one

* Sat May 08 2010 Sebastian Dziallas <sebastian at when.com> - 0.3-1
- initial update to try new stable branch


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jBCrypt/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	23 Jun 2010 01:55:34 -0000	1.1
+++ .cvsignore	23 Jun 2010 12:52:58 -0000	1.2
@@ -0,0 +1 @@
+jBCrypt-0.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jBCrypt/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	23 Jun 2010 01:55:35 -0000	1.1
+++ sources	23 Jun 2010 12:52:58 -0000	1.2
@@ -0,0 +1 @@
+84bc904669f532b7a55fc656c0f5c6d6  jBCrypt-0.3.tar.gz



More information about the scm-commits mailing list