165 lines
4.4 KiB
RPMSpec
165 lines
4.4 KiB
RPMSpec
%bcond_with gcc
|
|
|
|
Name: kopeninghours
|
|
Version: 24.12.1
|
|
Release: 1%{?dist}
|
|
Summary: Library for parsing and evaluating OSM opening hours expressions
|
|
|
|
License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later
|
|
URL: https://invent.kde.org/libraries/%{name}
|
|
|
|
Source0: https://download.kde.org/%{stable_kf5}/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
%if %{with gcc}
|
|
BuildRequires: gcc-toolset-14-gcc-c++
|
|
%else
|
|
BuildRequires: clang
|
|
%endif
|
|
BuildRequires: kf6-rpm-macros
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake(KF6Holidays)
|
|
BuildRequires: cmake(KF6I18n)
|
|
BuildRequires: cmake(Qt6Core)
|
|
BuildRequires: flex
|
|
BuildRequires: bison
|
|
BuildRequires: cmake(Qt6Qml)
|
|
BuildRequires: python3-devel
|
|
BuildRequires: boost1.87-devel
|
|
BuildRequires: boost1.87-python3
|
|
Requires: kf6-filesystem
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%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 doc
|
|
Summary: Developer Documentation files for %{name}
|
|
BuildArch: noarch
|
|
%description doc
|
|
Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
|
|
%build
|
|
%if %{with gcc}
|
|
%enable_devtoolset14
|
|
export CC=gcc
|
|
export CXX=c++
|
|
%else
|
|
%global optflags %(echo %{optflags}) -Qunused-arguments
|
|
%endif
|
|
|
|
%cmake_kf6 -DQT_MAJOR_VERSION=6
|
|
%cmake_build
|
|
|
|
|
|
%install
|
|
%cmake_install
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%license LICENSES/*.txt
|
|
%doc README.md
|
|
%{_kf6_libdir}/libKOpeningHours.so.*
|
|
%{_qt6_qmldir}/org/kde/kopeninghours
|
|
%{_datadir}/qlogging-categories6/org_kde_kopeninghours.categories
|
|
%{python3_sitelib}/PyKOpeningHours/
|
|
|
|
%files devel
|
|
%{_includedir}/KOpeningHours
|
|
%{_kf6_libdir}/cmake/KOpeningHours
|
|
%{_kf6_libdir}/libKOpeningHours.so
|
|
%{_includedir}/kopeninghours
|
|
%{_includedir}/kopeninghours_version.h
|
|
%{_qt6_docdir}/*.tags
|
|
|
|
%files doc
|
|
%{_qt6_docdir}/*.qch
|
|
|
|
%changelog
|
|
* Tue Jan 07 2025 Steve Cossette <farchord@gmail.com> - 24.12.1-1
|
|
- 24.12.1
|
|
|
|
* Sat Dec 07 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.12.0-1
|
|
- 24.12.0
|
|
|
|
* Fri Nov 29 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.11.90-1
|
|
- 24.11.90
|
|
|
|
* Fri Nov 15 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.11.80-1
|
|
- 24.11.80
|
|
|
|
* Tue Nov 05 2024 Steve Cossette <farchord@gmail.com> - 24.08.3-1
|
|
- 24.08.3
|
|
|
|
* Tue Oct 08 2024 Steve Cossette <farchord@gmail.com> - 24.08.2-1
|
|
- 24.08.2
|
|
|
|
* Wed Sep 25 2024 Alessandro Astone <ales.astone@gmail.com> - 24.08.1-1
|
|
- 24.08.1
|
|
|
|
* Thu Aug 22 2024 Steve Cossette <farchord@gmail.com> - 24.08.0-1
|
|
- 24.08.0
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 24.05.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Sun Jul 07 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.05.2-1
|
|
- 24.05.2
|
|
|
|
* Fri Jun 14 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.05.1-1
|
|
- 24.05.1
|
|
|
|
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 24.05.0-2
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Fri May 17 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.05.0-1
|
|
- 24.05.0
|
|
|
|
* Fri Apr 12 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.02.2-1
|
|
- 24.02.2
|
|
|
|
* Fri Mar 29 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.02.1-1
|
|
- 24.02.1
|
|
|
|
* Mon Mar 11 2024 Marie Loise Nolden <loise@kde.org> - 24.02.0-2
|
|
- add missing BuildArch: noarch to -doc package
|
|
|
|
* Wed Feb 21 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.02.0-1
|
|
- 24.02.0
|
|
|
|
* Wed Jan 31 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.01.95-1
|
|
- 24.01.95
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 24.01.90-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 24.01.90-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 24.01.90-2
|
|
- Rebuilt for Boost 1.83
|
|
|
|
* Thu Jan 11 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 24.01.90-1
|
|
- 24.01.90
|
|
- Add doc package for KF6 API
|
|
|
|
* Sat Dec 23 2023 ales.astone@gmail.com - 24.01.85-1
|
|
- 24.01.85
|
|
|
|
* Mon Dec 18 2023 Steve Cossette <farchord@gmail.com> - 24.01.80-1
|
|
- 24.01.80
|
|
|
|
* Mon Oct 09 2023 Steve Cossette <farchord@gmail.com> - 23.08.2-1
|
|
- Initial Release
|