2018-07-28 15:35:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package kitinerary
|
|
|
|
#
|
2024-02-23 21:08:20 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2018-07-28 15:35:55 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-12 10:46:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-07-28 15:35:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-04-12 19:25:00 +02:00
|
|
|
%define kf6_version 6.0.0
|
2024-02-23 21:08:20 +01:00
|
|
|
%define qt6_version 6.6.0
|
2024-04-12 19:25:00 +02:00
|
|
|
%define kpim6_version 6.0.2
|
2024-02-23 21:08:20 +01:00
|
|
|
|
2022-01-06 13:44:46 +01:00
|
|
|
%bcond_without released
|
2018-07-28 15:35:55 +02:00
|
|
|
Name: kitinerary
|
2024-04-12 19:25:00 +02:00
|
|
|
Version: 24.02.2
|
2018-07-28 15:35:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Data model and extraction system for travel reservations
|
|
|
|
License: LGPL-2.1-or-later
|
2019-08-15 16:00:45 +02:00
|
|
|
URL: https://www.kde.org
|
2024-02-26 11:21:54 +01:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-06 13:44:46 +01:00
|
|
|
%if %{with released}
|
2024-02-26 11:21:54 +01:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2020-11-21 13:58:16 +01:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2024-02-23 21:08:20 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
2022-12-08 13:38:35 +01:00
|
|
|
BuildRequires: libphonenumber-devel
|
2024-02-23 21:08:20 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: cmake(KF6CalendarCore) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Contacts) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(KPim6PkPass) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
2019-10-25 21:47:45 +02:00
|
|
|
BuildRequires: cmake(ZXing)
|
2024-02-23 21:08:20 +01:00
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(poppler-qt6)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
Requires: libKPim6Itinerary6 = %{version}
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%description
|
2024-02-23 21:08:20 +01:00
|
|
|
Kitinerary is a library which provides a data model and a system to extract
|
|
|
|
information from travel reservations. The model can then be reused in other
|
|
|
|
applications.
|
2018-07-28 15:35:55 +02:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%package -n libKPim6Itinerary6
|
2018-07-28 15:35:55 +02:00
|
|
|
Summary: Data model and extraction system for travel reservations
|
2024-02-23 21:08:20 +01:00
|
|
|
Requires: kitinerary >= %{version}
|
2024-03-08 17:20:30 +01:00
|
|
|
Obsoletes: libKPim5Itinerary5-lang < %{version}
|
2018-07-28 15:35:55 +02:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%description -n libKPim6Itinerary6
|
|
|
|
Kitinerary is a library which provides a data model and a system to extract
|
|
|
|
information from travel reservations. The model can then be reused in other
|
|
|
|
applications.
|
|
|
|
This package contains the kitinerary library.
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for kitinerary
|
2024-02-23 21:08:20 +01:00
|
|
|
Requires: libKPim6Itinerary6 = %{version}
|
|
|
|
Requires: cmake(KF6CalendarCore) >= %{kf6_version}
|
|
|
|
Requires: cmake(KF6Contacts) >= %{kf6_version}
|
|
|
|
Requires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
|
|
Requires: cmake(KPim6PkPass) >= %{kpim6_version}
|
|
|
|
Requires: cmake(Qt6Gui) >= %{qt6_version}
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to build programs that use the kitinerary library.
|
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%lang_package -n libKPim6Itinerary6
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%prep
|
2021-04-19 15:31:00 +02:00
|
|
|
%autosetup -p1
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%build
|
2022-11-17 23:58:25 +01:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
2018-07-28 15:35:55 +02:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%kf6_build
|
2020-11-21 13:58:16 +01:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%install
|
|
|
|
%kf6_install
|
2020-11-21 13:58:16 +01:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%find_lang %{name} --all-name
|
2018-07-28 15:35:55 +02:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%ldconfig_scriptlets -n libKPim6Itinerary6
|
2018-07-28 15:35:55 +02:00
|
|
|
|
2019-04-03 10:52:13 +02:00
|
|
|
%files
|
2024-02-23 21:08:20 +01:00
|
|
|
%{_kf6_debugdir}/org_kde_kitinerary.categories
|
|
|
|
%{_kf6_libexecdir}/kitinerary-extractor
|
|
|
|
%{_kf6_sharedir}/mime/packages/application-vnd-kde-itinerary.xml
|
2019-04-03 10:52:13 +02:00
|
|
|
|
2024-02-23 21:08:20 +01:00
|
|
|
%files -n libKPim6Itinerary6
|
|
|
|
%license LICENSES/*
|
|
|
|
%{_kf6_libdir}/libKPim6Itinerary.so.*
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%files devel
|
2024-02-23 21:08:20 +01:00
|
|
|
%doc %{_kf6_qchdir}/KPim6Itinerary.*
|
|
|
|
%{_includedir}/KPim6/KItinerary/
|
|
|
|
%{_includedir}/KPim6/kitinerary/
|
|
|
|
%{_includedir}/KPim6/kitinerary_version.h
|
|
|
|
%{_kf6_cmakedir}/KPim6Itinerary/
|
|
|
|
%{_kf6_libdir}/libKPim6Itinerary.so
|
|
|
|
|
|
|
|
%files -n libKPim6Itinerary6-lang -f %{name}.lang
|
2018-07-28 15:35:55 +02:00
|
|
|
|
|
|
|
%changelog
|