Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
liborigin
liborigin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liborigin.spec of Package liborigin
# # spec file for package liborigin # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: liborigin Version: 2.0.0 Release: 0 Summary: A library for reading OriginLab OPJ project files License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Url: http://sourceforge.net/projects/liborigin/ Source: http://downloads.sourceforge.net/liborigin/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE liborigin2-nostatic.patch -- disable static library Patch1: liborigin2-nostatic.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library for reading OriginLab OPJ project files. Features: * reads any worksheets with all columns * supports 4.1, 5.0, 6.0, 6.1, 7.0, 7.5 projects %package -n %{name}2 Summary: A library for reading OriginLab OPJ project files Group: System/Libraries %description -n %{name}2 A library for reading OriginLab OPJ project files. Features: * reads any worksheets with all columns * supports 4.1, 5.0, 6.0, 6.1, 7.0, 7.5 projects %package devel Summary: Libraries and header files for liborigin Group: Development/Libraries/C and C++ Requires: %{name}2 = %{version} Recommends: %{name}-doc %description devel This package contains libraries and header files for developing applications that read OriginLab OPJ project files. %package doc Summary: Documentation for liborigin Group: Documentation/Other %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description doc This package provides the documentation for liborigin. %package tools Summary: Converter for OriginLab OPJ project files Group: Productivity/Scientific/Other %description tools Converter for OriginLab OPJ project files. Features: * reads any worksheets with all columns * supports 4.1, 5.0, 6.0, 6.1, 7.0, 7.5 projects %prep %setup -q -n %{name} %patch1 -p1 # fix hardcoded library path sed -i "s|DESTINATION lib)|DESTINATION %{_lib})|" CMakeLists.txt # fix documentation directory sed -i "s|DESTINATION share/doc/liborigin)|DESTINATION %{_docdir}/%{name})|" CMakeLists.txt %build %cmake make %{?_smp_mflags} %install %cmake_install %post -n %{name}2 -p /sbin/ldconfig %postun -n %{name}2 -p /sbin/ldconfig %files -n %{name}2 %defattr(-,root,root) %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root) %{_libdir}/%{name}.so %{_includedir}/%{name}/ %files doc %defattr(-,root,root) %{_docdir}/%{name}/ %files tools %defattr(-,root,root) %{_bindir}/opj2dat %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