Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
openrefine
openrefine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openrefine.spec of Package openrefine
# # spec file for "openrefine" # # Copyright (c) 2017-2020 kkaempf # # 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: openrefine %define srcname OpenRefine Version: 3.4.1 Release: 1 License: BSD-3-Clause Summary: OpenRefine can help you explore large data sets with ease Url: https://github.com/%{srcname}/%{srcname} Group: Development/Libraries/Java Source0: https://github.com/%{srcname}/%{srcname}/archive/%{version}.tar.gz Source1: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE - remove tests which need network during build Patch1: 0001-disable-broken-tests.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel BuildRequires: maven BuildRequires: %{name}-kit = %{version} BuildRequires: xz Requires: java Requires: ca-certificates-mozilla %description OpenRefine (previously Google Refine) is a powerful tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data. %prep %setup -q -n %{srcname}-%{version} cp -RLf %{_datadir}/tetra/kit .. %patch1 -p1 %build cd .. export NO_BRP_CHECK_BYTECODE_VERSION=true export PROJECT_PREFIX=`readlink -e .` export LANG=en_US.UTF-8 cd %{srcname}-%{version} mvn \ -Dmaven.repo.local=$PROJECT_PREFIX/kit/m2 \ --settings $PROJECT_PREFIX/kit/m2/settings.xml \ --strict-checksums \ -o \ package -P linux %install cd .. export NO_BRP_CHECK_BYTECODE_VERSION=true export PROJECT_PREFIX=`readlink -e .` export LANG=en_US.UTF-8 cd %{srcname}-%{version}/packaging/target/ mkdir -p %{buildroot}%{_libdir} tar -C %{buildroot}%{_libdir} -xf %{name}-linux-%{version}.tar.gz # openrefine/bin mkdir -p %{buildroot}%{_bindir} ln -s %{_libdir}/%{name}-%{version}/refine %{buildroot}%{_bindir}/openrefine %fdupes %{buildroot}%{_libdir}/%{name}-%{version} %files %defattr(-,root,root) %license LICENSE.txt %doc *.md %{_bindir}/* %dir %{_libdir}/%{name}-%{version} %{_libdir}/%{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