forked from pool/kpublictransport
osc copypac from project:KDE:Unstable:Extra package:kpublictransport revision:303
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kpublictransport?expand=0&rev=1
This commit is contained in:
commit
4d0d2d268d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm">
|
||||||
|
<param name="url">https://invent.kde.org/libraries/kpublictransport.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">0.0.1git.%ci~%h</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar" />
|
||||||
|
<service mode="buildtime" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version" />
|
||||||
|
</services>
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eec6f5f94754a8fb87d83b7c8979060d4d0a30b188b0dc3e9f2523368f442d93
|
||||||
|
size 2881548
|
5
_service:obs_scm:kpublictransport.obsinfo
Normal file
5
_service:obs_scm:kpublictransport.obsinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: kpublictransport
|
||||||
|
version: 0.0.1git.20201108T190551~02631b5
|
||||||
|
mtime: 1604858751
|
||||||
|
commit: 02631b5699289c28f2984619e3e1a34cf061db9a
|
||||||
|
|
4
kpublictransport.changes
Normal file
4
kpublictransport.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 07:46:15 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
- Initial commit
|
116
kpublictransport.spec
Normal file
116
kpublictransport.spec
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kpublictransport
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global sover 0
|
||||||
|
%global fullsover 0.0.1
|
||||||
|
%global lname libKPublicTransport%{sover}
|
||||||
|
%bcond_without lang
|
||||||
|
Name: kpublictransport
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 0
|
||||||
|
Summary: QML imports for querying public transport data
|
||||||
|
License: LGPL-2.0-or-later
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
URL: https://www.kde.org
|
||||||
|
# Not there yet
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: cmake >= 3.5
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: kf5-filesystem
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: cmake(Qt5Quick) >= 5.10.0
|
||||||
|
BuildRequires: cmake(Qt5Test) >= 5.10.0
|
||||||
|
BuildRequires: cmake(Qt5Widgets) >= 5.10.0
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
A library for access realtime public transport data and for performing public
|
||||||
|
ransport journey queries. QML imports.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: Library for querying public transport data
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
A library for access realtime public transport data and for performing public
|
||||||
|
ransport journey queries.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Library for querying public transport data
|
||||||
|
Group: Development/Libraries/KDE
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
|
Requires: extra-cmake-modules
|
||||||
|
Requires: cmake(Qt5Gui)
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
A library for access realtime public transport data and for performing public
|
||||||
|
ransport journey queries.Development files.
|
||||||
|
|
||||||
|
%lang_package -n %{lname}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf5_makeinstall -C build
|
||||||
|
%if %{with lang}
|
||||||
|
# Fill once released
|
||||||
|
# %find_lang %{name} --with-man --all-name
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
|
export QT_QPA_PLATFORM=offscreen
|
||||||
|
%make_build -C build test
|
||||||
|
|
||||||
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files -n %{lname}-lang -f %{name}.lang
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSES/*
|
||||||
|
%dir %{_kf5_qmldir}/org/
|
||||||
|
%dir %{_kf5_qmldir}/org/kde/
|
||||||
|
%{_kf5_qmldir}/org/kde/kpublictransport/
|
||||||
|
|
||||||
|
%files -n %{lname}
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_kf5_debugdir}/org_kde_kpublictransport.categories
|
||||||
|
%{_kf5_libdir}/libKPublicTransport.so.%{fullsover}
|
||||||
|
%{_kf5_libdir}/libKPublicTransport.so.%{sover}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_includedir}/KPublicTransport/
|
||||||
|
%{_includedir}/kpublictransport/
|
||||||
|
%{_includedir}/kpublictransport_version.h
|
||||||
|
%{_kf5_libdir}/cmake/KPublicTransport/
|
||||||
|
%{_kf5_libdir}/libKPublicTransport.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user