1
0
forked from pool/kopeninghours
Christophe Giboudeaux 2021-03-28 07:27:30 +00:00 committed by Git OBS Bridge
commit 4d92c21769
7 changed files with 150 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
applications.keyring Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3717afea23e9fd1e99b1283e6991cd9f90c2e839ec4a93bd745d368dea9e823b
size 62124

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmBXHtcACgkQOmpNuDnq
ptcl1A//ZkRWkBoVyAx+oBw8FUlYoMjLPVSK+0PSzya+8Io6RVbroX7fdxKPdTYc
tBSe9edmGy+YqCqu2qr7Gri0MQLCLsQj9LNBaZvndMBRhqOOBRs4ph6+NrgiWaZu
v8gbok2RRccmLPhCytTJf95bTu8UJKsU1tGETzGOHmxMx4v/gbzrqmjygxP4IQh+
1/tHvzP6yIpCHkSuskzyxTJpNrOxRoZfRyvWtqpiEWAXSqPbhRkSaXtGA9vIinFn
TwaISXN1RrXn6XcWqX0gg/4bhTKtS03g1CL1UPNH4GlCXzE9T5KRcWUgQqaBIp2/
5uVtQ6sj/8JeDIBw0dh/statLHbzfM16gJAbaZm83V0YJlzi02i1rW2nCaejzAB1
RFAXB54SaQsI2QIQYVbRTtMgpLFYii+B4FmZl3bqSMXWydydnsofbVmcv39yU0wy
z8TvlzptlAUzOu1lPMcDuf2Wl4mffR/4rAfxtsK9DC9L3m3V5mrtj+gHBxMYMWCu
jXo8fEb/rxfXG8s6e/UvRpncc0uZ/tVrwBmUq+O1YS085JybDBaUYtPvDyef0hYj
zY1ZeD6pCuohBJgnK7yxBqIai+lvY8g6wn98rh03BxVt0X5yaEvbDqG7FUuw1mX5
Y8QfnqCzqFlBDI0PBw91kqaiYiIB0x9nseZV+kweJvPgHipMcvw=
=C80P
-----END PGP SIGNATURE-----

4
kopeninghours.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Mar 21 17:29:37 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Initial package.

103
kopeninghours.spec Normal file
View File

@ -0,0 +1,103 @@
#
# spec file for package kopeninghours
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%bcond_without lang
Name: kopeninghours
Version: 21.03.80
Release: 0
Summary: OSM opening hours expression parser and evaluator
License: LGPL-2.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: bison
BuildRequires: flex
BuildRequires: cmake(KF5Holidays)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(Qt5Core) >= 5.14
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Test)
%description
A library for parsing and evaluating OSM opening hours expressions.
%package -n libKOpeningHours1
Summary: OSM opening hours expression parser and evaluator
Recommends: %{name}
%description -n libKOpeningHours1
A library for parsing and evaluating OSM opening hours expressions.
%package devel
Summary: Development files for KOpeningHours
Requires: libKOpeningHours1 = %{version}
%description devel
Include files and libraries needed to build programs that use the KOpeningHours
library.
%lang_package
%prep
%setup -q
%build
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
%cmake_build
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man
%endif
%check
export QT_QPA_PLATFORM=offscreen
%ctest
%post -n libKOpeningHours1 -p /sbin/ldconfig
%postun -n libKOpeningHours1 -p /sbin/ldconfig
%files
%license LICENSES/*
%dir %{_kf5_qmldir}/org
%dir %{_kf5_qmldir}/org/kde
%{_kf5_qmldir}/org/kde/kopeninghours/
%files -n libKOpeningHours1
%license LICENSES/*
%{_kf5_debugdir}/org_kde_kopeninghours.categories
%{_kf5_libdir}/libKOpeningHours.so.*
%files devel
%license LICENSES/*
%{_includedir}/KOpeningHours/
%{_includedir}/kopeninghours/
%{_includedir}/kopeninghours_version.h
%{_kf5_cmakedir}/KOpeningHours/
%{_kf5_libdir}/libKOpeningHours.so
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog