commit 4d92c21769eebf7790aa7f8af0ba0a2ae020b83fcec05bf674958f4a971bfc43 Author: Christophe Giboudeaux Date: Sun Mar 28 07:27:30 2021 +0000 21.04 beta OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kopeninghours?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..9b6ab5c Binary files /dev/null and b/applications.keyring differ diff --git a/kopeninghours-21.03.80.tar.xz b/kopeninghours-21.03.80.tar.xz new file mode 100644 index 0000000..69aa8e4 --- /dev/null +++ b/kopeninghours-21.03.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3717afea23e9fd1e99b1283e6991cd9f90c2e839ec4a93bd745d368dea9e823b +size 62124 diff --git a/kopeninghours-21.03.80.tar.xz.sig b/kopeninghours-21.03.80.tar.xz.sig new file mode 100644 index 0000000..5d2e33f --- /dev/null +++ b/kopeninghours-21.03.80.tar.xz.sig @@ -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----- diff --git a/kopeninghours.changes b/kopeninghours.changes new file mode 100644 index 0000000..4fb45a2 --- /dev/null +++ b/kopeninghours.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Mar 21 17:29:37 UTC 2021 - Christophe Giboudeaux + +- Initial package. diff --git a/kopeninghours.spec b/kopeninghours.spec new file mode 100644 index 0000000..8477827 --- /dev/null +++ b/kopeninghours.spec @@ -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