Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
jBitcollider
jBitcollider.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jBitcollider.spec of Package jBitcollider
# # spec file for package jBitcollider # # Copyright (c) 2013 Peter Conrad # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: jBitcollider Version: 0.8 Release: 1 License: SUSE-Public-Domain Summary: Calculate digital fingerprints of files Url: http://bitzi.com/bitcollider/ Group: Development/Libraries/Java Source: http://downloads.sourceforge.net/project/bitcollider/%{name}%20%28Java%29/%{version}/%{name}-%{version}.zip BuildRequires: java-devel ant unzip %if 0%{?fedora} > 0 BuildRequires: java-1.5.0-gcj-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Our Bitcollider is a small program you can run on your own computer to reliably identify and describe files on your machine. %package javadoc Summary: API documentation of the jBitcollider java library Group: Development/Libraries/Java %description javadoc This package contains the API documentation of jBitcollider. %prep %setup -q %build %__mkdir_p build/classes find plugins/org.bitpedia.collider.core plugins/org.bitpedia.collider.image plugins/org.bitpedia.collider.video plugins/org.bitpedia.collider.wav -name \*.java | \ xargs javac -d build/classes -source 1.5 -target 1.5 -g jar cf build/bitcollider.jar -C build/classes . %__mkdir_p build/doc find plugins/org.bitpedia.collider.core plugins/org.bitpedia.collider.image plugins/org.bitpedia.collider.video plugins/org.bitpedia.collider.wav -name \*.java | \ xargs javadoc -d build/doc -sourcepath plugins -classpath "build/classes" %install %__install -dm 755 "%{buildroot}%{_javadir}" %__install -m 0644 build/bitcollider.jar "%{buildroot}%{_javadir}/bitcollider-%{version}.jar" %__ln_s "bitcollider-%{version}.jar" "%{buildroot}%{_javadir}/bitcollider.jar" %__install -dm 755 "%{buildroot}/%{_javadocdir}/%{name}-%{version}" cp -pr build/doc/* "%{buildroot}/%{_javadocdir}/%{name}-%{version}/" %files %defattr(-,root,root,-) %doc COPYING README.txt %{_javadir}/bitcollider.jar %{_javadir}/bitcollider-%{version}.jar %files javadoc %defattr(-,root,root,-) %{_javadocdir}/%{name}-%{version}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor