|
|
f77b027 |
# Force out of source build
|
|
|
f77b027 |
%undefine __cmake_in_source_build
|
|
|
f77b027 |
|
|
|
871536d |
Name: liborigin
|
|
|
871536d |
Version: 3.0.0
|
|
|
f77b027 |
Release: 10%{?dist}
|
|
|
871536d |
Epoch: 1
|
|
|
871536d |
Summary: Library for reading OriginLab OPJ project files
|
|
|
a52eff0 |
|
|
|
871536d |
License: GPLv3
|
|
|
871536d |
URL: https://sourceforge.net/projects/liborigin/
|
|
|
871536d |
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
504208f |
Patch0: liborigin-remove-exit-calls.patch
|
|
|
da221a7 |
Patch1: liborigin-use-shared-lib-to-link-opj2dat.patch
|
|
|
a52eff0 |
|
|
|
871536d |
# No longer required
|
|
|
871536d |
#BuildRequires: boost-devel
|
|
|
871536d |
BuildRequires: gcc-c++
|
|
|
871536d |
BuildRequires: cmake
|
|
|
871536d |
BuildRequires: doxygen
|
|
|
ae087f3 |
|
|
|
871536d |
Provides: liborigin2 = 2.0.0-21
|
|
|
871536d |
Obsoletes: liborigin2 < 2.0.0-21
|
|
|
a52eff0 |
|
|
|
a52eff0 |
%description
|
|
|
a52eff0 |
A library for reading OriginLab OPJ project files.
|
|
|
a52eff0 |
|
|
|
871536d |
%package devel
|
|
|
871536d |
Summary: Development files for %{name}
|
|
|
871536d |
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
871536d |
Provides: liborigin2-devel = 2.0.0-21
|
|
|
871536d |
Obsoletes: liborigin2-devel < 2.0.0-21
|
|
|
a52eff0 |
|
|
|
871536d |
%description devel
|
|
|
871536d |
The %{name}-devel package contains libraries and header files for
|
|
|
871536d |
developing applications that use %{name}.
|
|
|
a52eff0 |
|
|
|
871536d |
%package doc
|
|
|
871536d |
Summary: Documentation for %{name}
|
|
|
871536d |
BuildArch: noarch
|
|
|
a52eff0 |
|
|
|
871536d |
%description doc
|
|
|
871536d |
The %{name}-doc package contains documentation for %{name}.
|
|
|
a52eff0 |
|
|
|
871536d |
%prep
|
|
|
871536d |
%setup -q -n %{name}-%{version}
|
|
|
504208f |
%patch0 -p1
|
|
|
da221a7 |
%patch1 -p1
|
|
|
a52eff0 |
|
|
|
871536d |
%build
|
|
|
f1b37bc |
%cmake .
|
|
|
f77b027 |
%cmake_build --target origin opj2dat doc
|
|
|
a52eff0 |
|
|
|
a52eff0 |
%install
|
|
|
f77b027 |
%cmake_install
|
|
|
a52eff0 |
|
|
|
cfe9361 |
%ldconfig_scriptlets
|
|
|
a52eff0 |
|
|
|
a52eff0 |
%files
|
|
|
871536d |
%doc README
|
|
|
871536d |
%license COPYING
|
|
|
da221a7 |
%{_libdir}/%{name}.so.3*
|
|
|
a52eff0 |
%{_bindir}/opj2dat
|
|
|
871536d |
%exclude %{_docdir}/%{name}/html
|
|
|
871536d |
# We have license in different location and FORMAT in -doc
|
|
|
871536d |
%exclude %{_docdir}/%{name}/COPYING
|
|
|
871536d |
%exclude %{_docdir}/%{name}/FORMAT
|
|
|
a52eff0 |
|
|
|
a52eff0 |
%files devel
|
|
|
a52eff0 |
%{_includedir}/%{name}/
|
|
|
da221a7 |
%{_libdir}/%{name}.so
|
|
|
da221a7 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
8dd60c6 |
|
|
|
871536d |
%files doc
|
|
|
871536d |
%doc FORMAT README
|
|
|
871536d |
%license COPYING
|
|
|
871536d |
%{_docdir}/%{name}/html/
|
|
|
81d6965 |
|
|
|
871536d |
%changelog
|
|
|
f77b027 |
* Mon Aug 03 2020 Alexander Ploumistos <alexpl@fedoraproject.org> - 1:3.0.0-10
|
|
|
f77b027 |
- Fix for https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
|
|
|
f77b027 |
|
|
|
dd46d77 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.0-9
|
|
|
dd46d77 |
- Second attempt - Rebuilt for
|
|
|
dd46d77 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
dd46d77 |
|
|
|
bddc4b4 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.0-8
|
|
|
bddc4b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
bddc4b4 |
|
|
|
a3f7d8f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.0-7
|
|
|
a3f7d8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a3f7d8f |
|
|
|
bdaaf00 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.0-6
|
|
|
bdaaf00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bdaaf00 |
|
|
|
06001ea |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.0-5
|
|
|
06001ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
06001ea |
|
|
|
f1b37bc |
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 1:3.0.0-4
|
|
|
f1b37bc |
- Append curdir to CMake invokation. (#1668512)
|
|
|
f1b37bc |
|
|
|
da221a7 |
* Fri Nov 23 2018 Alexander Ploumistos <alexpl@fedoraproject.org> - 1:3.0.0-3
|
|
|
da221a7 |
- Build opj2dat against shared library - patch by Miquel Garriga
|
|
|
da221a7 |
- Move unversioned shared library to devel subpackage
|
|
|
da221a7 |
|
|
|
504208f |
* Wed Nov 21 2018 Alexander Ploumistos <alexpl@fedoraproject.org> - 1:3.0.0-2
|
|
|
504208f |
- Disable static library generation
|
|
|
504208f |
- Add patch for exit calls - bug #24, patch by Miquel Garriga
|
|
|
504208f |
|
|
|
871536d |
* Sun Nov 18 2018 Alexander Ploumistos <alexpl@fedoraproject.org> - 1:3.0.0-1
|
|
|
871536d |
- First v3.0.0 release
|
|
|
871536d |
- Remove obsolete code from spec file
|
|
|
871536d |
- Clean up the changelog
|
|
|
871536d |
- Use epoch to provide an upgrade path from the old version
|