Dependencias para libreoffice-7.1.8
This commit is contained in:
parent
7c2c356710
commit
da2f9d685a
3 changed files with 427 additions and 38 deletions
142
CentOS-8/SPECS/Box2D.spec
Normal file
142
CentOS-8/SPECS/Box2D.spec
Normal file
|
@ -0,0 +1,142 @@
|
|||
%global __cmake_in_source_build 1
|
||||
Name: Box2D
|
||||
Version: 2.4.1
|
||||
Release: 5%{?dist}
|
||||
Summary: A 2D Physics Engine for Games
|
||||
|
||||
License: zlib
|
||||
URL: http://box2d.org/
|
||||
Source0: https://github.com/erincatto/box2d/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: make
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Box2D is an open source C++ engine for simulating rigid bodies in 2D.
|
||||
Box2D is developed by Erin Catto and has the zlib license.
|
||||
While the zlib license does not require acknowledgement,
|
||||
we encourage you to give credit to Box2D in your product.
|
||||
|
||||
%description devel
|
||||
Box2D is an open source C++ engine for simulating rigid bodies in 2D.
|
||||
Box2D is developed by Erin Catto and has the zlib license.
|
||||
While the zlib license does not require acknowledgement,
|
||||
we encourage you to give credit to Box2D in your product.
|
||||
|
||||
These are the development files.
|
||||
|
||||
%prep
|
||||
%setup -qn box2d-%{version}
|
||||
rm -r extern
|
||||
|
||||
%build
|
||||
%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF .
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.2*
|
||||
|
||||
%files devel
|
||||
%doc README.md docs/
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/box2d
|
||||
%{_libdir}/cmake/box2d/*.cmake
|
||||
|
||||
%changelog
|
||||
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-5
|
||||
- disable building BOX2D_BUILD_UNIT_TESTS due to "SIGSTKSZ ... no
|
||||
longer constant on Linux ... redefined to sysconf(_SC_SIGSTKSZ)"
|
||||
https://github.com/bminor/glibc/blob/master/NEWS causing build failure
|
||||
|
||||
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-4
|
||||
- reduce unnecessary dependencies
|
||||
|
||||
* Wed Feb 10 2021 Timm Bäder <tbaeder@redhat.com> - 2.4.1-3
|
||||
- Use make macros
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Oct 19 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.4.1-1
|
||||
- 2.4.1
|
||||
|
||||
* Mon Aug 10 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.4.0-1
|
||||
- 2.4.0 with patch for cmake shared libs.
|
||||
|
||||
* Tue Aug 04 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.3.1-15
|
||||
- Fix FTBFS.
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-14
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.3.1-2
|
||||
- Rebuilt for GCC 5 C++11 ABI change
|
||||
|
||||
* Fri Feb 20 2015 Lubomir Rintel <lkundrak@v3.sk> - 2.3.1-1
|
||||
- Update
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Mon Aug 06 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-3
|
||||
- Review fixes from BZ 844090 comment 6.
|
||||
|
||||
* Thu Aug 02 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-2
|
||||
- Unbundle freeglut and glui.
|
||||
|
||||
* Sat Jul 28 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-1
|
||||
- create.
|
278
CentOS-8/SPECS/libixion.spec
Normal file
278
CentOS-8/SPECS/libixion.spec
Normal file
|
@ -0,0 +1,278 @@
|
|||
%global apiversion 0.16
|
||||
|
||||
Name: libixion
|
||||
Version: 0.16.1
|
||||
Release: 4%{?dist}
|
||||
Summary: A general purpose formula parser & interpreter library
|
||||
|
||||
License: MPLv2.0
|
||||
URL: https://gitlab.com/ixion/ixion
|
||||
Source0: https://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: help2man
|
||||
BuildRequires: automake
|
||||
BuildRequires: pkgconfig(mdds-1.5)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(spdlog)
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Ixion is a general purpose formula parser & interpreter that can calculate
|
||||
multiple named targets, or "cells".
|
||||
|
||||
The goal of this project is to create a library for calculating the results of
|
||||
formula expressions stored in multiple named targets, or “cells”. The cells can
|
||||
be referenced from each other, and the library takes care of resolving their
|
||||
dependencies automatically upon calculation. The caller can run the calculation
|
||||
routine either in a single-threaded mode, or a multi-threaded mode. The library
|
||||
also supports re-calculations where the contents of one or more cells have been
|
||||
modified since the last calculation, and a partial calculation of only the
|
||||
affected cells need to be calculated.
|
||||
|
||||
Supported features:
|
||||
- Each calculation session is defined in a plain text file, which is parsed and
|
||||
interpreted by the Ixion parser.
|
||||
- Fully threaded calculation.
|
||||
- Name resolution using A1-style references.
|
||||
- Support 2D cell references and named expressions.
|
||||
- Support range references.
|
||||
- Dependency tracking during both full calculation and partial re-calculation.
|
||||
- Inline strings.
|
||||
- Volatile functions. The framework for volatile functions is implemented. We
|
||||
just need to implement more functions.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package tools
|
||||
Summary: Testing tools for libixion
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
Testing tools for %{name}.
|
||||
|
||||
%package python3
|
||||
Summary: Python 3 bindings for libixion
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < 0.9.1-1
|
||||
Suggests: %{name}-doc = %{version}-%{release}
|
||||
|
||||
%description python3
|
||||
Python 3 bindings for %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: API documentation for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf
|
||||
%configure --disable-silent-rules --disable-static
|
||||
sed -i \
|
||||
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
||||
libtool
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la
|
||||
|
||||
# create and install man pages
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
help2man -S '%{name} %{version}' -N -n 'formula tokenizer' -o ixion-formula-tokenizer.1 ./src/ixion-formula-tokenizer
|
||||
help2man -S '%{name} %{version}' -N -n 'parser' -o ixion-parser.1 ./src/ixion-parser
|
||||
help2man -S '%{name} %{version}' -N -n 'sorter' -o ixion-sorter.1 ./src/ixion-sorter
|
||||
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
||||
install -m 0644 ixion-*.1 %{buildroot}/%{_mandir}/man1
|
||||
|
||||
# generate docs
|
||||
# make doc
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%files
|
||||
%doc AUTHORS
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}-%{apiversion}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}-%{apiversion}
|
||||
%{_libdir}/%{name}-%{apiversion}.so
|
||||
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
||||
|
||||
%files tools
|
||||
%{_bindir}/ixion-formula-tokenizer
|
||||
%{_bindir}/ixion-parser
|
||||
%{_bindir}/ixion-sorter
|
||||
%{_mandir}/man1/ixion-formula-tokenizer.1*
|
||||
%{_mandir}/man1/ixion-parser.1*
|
||||
%{_mandir}/man1/ixion-sorter.1*
|
||||
|
||||
%files python3
|
||||
%{python3_sitearch}/ixion.so
|
||||
|
||||
%files doc
|
||||
%license LICENSE
|
||||
%doc doc/python
|
||||
|
||||
%changelog
|
||||
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 0.16.1-4
|
||||
- Rebuilt for removed libstdc++ symbol (#1937698)
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.16.1-2
|
||||
- Rebuilt for Boost 1.75
|
||||
|
||||
* Tue Sep 29 2020 Caolán McNamara <colanm@redhat.com> - 0.16.1-1
|
||||
- new upstream release
|
||||
|
||||
* Thu Sep 24 2020 Caolán McNamara <colanm@redhat.com> - 0.16.0-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 0.15.0-4
|
||||
- Rebuilt for Boost 1.73
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.15.0-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Aug 20 2019 Caolán McNamara <colanm@redhat.com> - 0.15.0-1
|
||||
- new upstream release
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-5
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.14.1-2
|
||||
- Rebuilt for Boost 1.69
|
||||
|
||||
* Fri Oct 26 2018 David Tardon <dtardon@redhat.com> - 0.14.1-1
|
||||
- new upstream release
|
||||
|
||||
* Sun Sep 02 2018 David Tardon <dtardon@redhat.com> - 0.14.0-1
|
||||
- new upstream release
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.13.0-2
|
||||
- Rebuilt for Boost 1.66
|
||||
|
||||
* Wed Oct 11 2017 David Tardon <dtardon@redhat.com> - 0.13.0-1
|
||||
- new upstream release
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.12.2-5
|
||||
- Rebuilt for Boost 1.64
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.12.2-3
|
||||
- Rebuilt for Boost 1.63
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.12.2-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Thu Dec 15 2016 David Tardon <dtardon@redhat.com> - 0.12.2-1
|
||||
- new upstream release
|
||||
|
||||
* Mon Sep 26 2016 David Tardon <dtardon@redhat.com> - 0.12.1-1
|
||||
- new upstream release
|
||||
|
||||
* Wed Jul 20 2016 David Tardon <dtardon@redhat.com> - 0.12.0-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Thu May 12 2016 David Tardon <dtardon@redhat.com> - 0.11.1-1
|
||||
- new upstream release
|
||||
|
||||
* Fri Mar 11 2016 David Tardon <dtardon@redhat.com> - 0.11.0-2
|
||||
- build python documentation
|
||||
|
||||
* Sun Feb 14 2016 David Tardon <dtardon@redhat.com> - 0.11.0-1
|
||||
- new upstream release
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-7
|
||||
- Rebuilt for Boost 1.60
|
||||
|
||||
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-6
|
||||
- Rebuilt for Boost 1.59
|
||||
|
||||
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
||||
|
||||
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.9.1-4
|
||||
- rebuild for Boost 1.58
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Apr 13 2015 David Tardon <dtardon@redhat.com> - 0.9.1-2
|
||||
- rebuild for yet another C++ ABI break
|
||||
|
||||
* Sun Apr 05 2015 David Tardon <dtardon@redhat.com> - 0.9.1-1
|
||||
- new upstream release
|
||||
|
||||
* Thu Mar 05 2015 David Tardon <dtardon@redhat.com> - 0.9.0-2
|
||||
- fix python bindings on i386
|
||||
|
||||
* Wed Feb 18 2015 David Tardon <dtardon@redhat.com> - 0.9.0-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.7.0-4
|
||||
- Rebuild for boost 1.57.0
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu May 22 2014 David Tardon <dtardon@redhat.com> - 0.7.0-1
|
||||
- initial import
|
|
@ -1,13 +1,8 @@
|
|||
%global apiversion 0.15
|
||||
|
||||
# build conversion tools
|
||||
%bcond_with convtools
|
||||
# build python3 bindings
|
||||
%bcond_with python
|
||||
%global apiversion 0.16
|
||||
|
||||
Name: liborcus
|
||||
Version: 0.15.4
|
||||
Release: 2%{?dist}
|
||||
Version: 0.16.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Standalone file import filter library for spreadsheet documents
|
||||
|
||||
License: MPLv2.0
|
||||
|
@ -17,24 +12,17 @@ Source0: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz
|
|||
BuildRequires: boost-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
%if %{with convtools}
|
||||
BuildRequires: help2man
|
||||
BuildRequires: pkgconfig(libixion-0.15)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libixion-0.16)
|
||||
BuildRequires: pkgconfig(mdds-1.5)
|
||||
%if %{with python}
|
||||
BuildRequires: pkgconfig(python3)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Patch0: liborcus-noexamples.patch
|
||||
|
||||
%description
|
||||
%{name} is a standalone file import filter library for spreadsheet
|
||||
documents. Currently under development are ODS, XLSX and CSV import
|
||||
filters.
|
||||
|
||||
%if %{with convtools}
|
||||
%package model
|
||||
Summary: Spreadsheet model for %{name} conversion tools
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
@ -42,7 +30,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
%description model
|
||||
The %{name}-model package contains a spreadsheet model used by the
|
||||
conversion tools.
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
|
@ -60,14 +47,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
Helper tools for %{name} and converters of various file formats to HTML
|
||||
and text.
|
||||
|
||||
%if %{with python}
|
||||
%package python3
|
||||
Summary: Python 3 bindings for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description python3
|
||||
Python 3 bindings for %{name}.
|
||||
%endif
|
||||
|
||||
%package doc
|
||||
Summary: API documentation for %{name}
|
||||
|
@ -79,13 +64,6 @@ API documentation for %{name}.
|
|||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%if %{without convtools}
|
||||
%global condopts %{?condopts} --disable-spreadsheet-model
|
||||
%endif
|
||||
%if %{without python}
|
||||
%global condopts %{?condopts} --disable-python
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure --disable-debug --disable-silent-rules --disable-static \
|
||||
--disable-werror --with-pic %{?condopts}
|
||||
|
@ -99,7 +77,6 @@ make %{?_smp_mflags}
|
|||
make install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la
|
||||
|
||||
%if %{with convtools}
|
||||
# create and install man pages
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
help2man -N -S '%{name} %{version}' -n 'convert a CSV file' -o orcus-csv.1 %{buildroot}/usr/bin/orcus-csv
|
||||
|
@ -110,7 +87,6 @@ help2man -N -S '%{name} %{version}' -n 'convert a OpenXML spreadsheet' -o orcus-
|
|||
help2man -N -S '%{name} %{version}' -n 'convert an XML file' -o orcus-xml.1 %{buildroot}/usr/bin/orcus-xml
|
||||
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
||||
install -p -m 0644 orcus-*.1 %{buildroot}/%{_mandir}/man1
|
||||
%endif
|
||||
|
||||
# build documentation
|
||||
make doc-doxygen
|
||||
|
@ -122,10 +98,8 @@ make check %{?_smp_mflags}
|
|||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%if %{with convtools}
|
||||
%post model -p /sbin/ldconfig
|
||||
%postun model -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc AUTHORS CHANGELOG
|
||||
|
@ -134,10 +108,8 @@ make check %{?_smp_mflags}
|
|||
%{_libdir}/%{name}-mso-%{apiversion}.so.*
|
||||
%{_libdir}/%{name}-parser-%{apiversion}.so.*
|
||||
|
||||
%if %{with convtools}
|
||||
%files model
|
||||
%{_libdir}/%{name}-spreadsheet-model-%{apiversion}.so.*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}-%{apiversion}
|
||||
|
@ -145,10 +117,8 @@ make check %{?_smp_mflags}
|
|||
%{_libdir}/%{name}-mso-%{apiversion}.so
|
||||
%{_libdir}/%{name}-parser-%{apiversion}.so
|
||||
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
||||
%if %{with convtools}
|
||||
%{_libdir}/%{name}-spreadsheet-model-%{apiversion}.so
|
||||
%{_libdir}/pkgconfig/%{name}-spreadsheet-model-%{apiversion}.pc
|
||||
%endif
|
||||
|
||||
%files tools
|
||||
%{_bindir}/orcus-css-dump
|
||||
|
@ -157,7 +127,6 @@ make check %{?_smp_mflags}
|
|||
%{_bindir}/orcus-mso-encryption
|
||||
%{_bindir}/orcus-zip-dump
|
||||
%{_bindir}/orcus-yaml
|
||||
%if %{with convtools}
|
||||
%{_bindir}/orcus-csv
|
||||
%{_bindir}/orcus-gnumeric
|
||||
%{_bindir}/orcus-ods
|
||||
|
@ -171,20 +140,20 @@ make check %{?_smp_mflags}
|
|||
%{_mandir}/man1/orcus-xls-xml.1*
|
||||
%{_mandir}/man1/orcus-xlsx.1*
|
||||
%{_mandir}/man1/orcus-xml.1*
|
||||
%endif
|
||||
|
||||
%if %{with python}
|
||||
%files python3
|
||||
%{python3_sitearch}/_orcus.so
|
||||
%{python3_sitearch}/_orcus_json.so
|
||||
%{python3_sitelib}/orcus
|
||||
%endif
|
||||
|
||||
%files doc
|
||||
%license LICENSE
|
||||
%doc doc/_doxygen/html
|
||||
|
||||
%changelog
|
||||
* Thu Mar 17 2022 Sandino Araico Sánchez <saraico@ugd.gob.mx> - 0.16.1-1
|
||||
- update to 0.16.1
|
||||
|
||||
* Sun Oct 25 2020 Caolán McNamara <caolanm@redhat.com> - 0.15.4-2
|
||||
- Related: rhbz#1881132 update to 0.15.4
|
||||
|
||||
|
|
Loading…
Reference in a new issue