]> git.pld-linux.org Git - packages/ka5-itinerary.git/blob - ka5-itinerary.spec
- 22.04.0
[packages/ka5-itinerary.git] / ka5-itinerary.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4 %define         kdeappsver      22.04.0
5 %define         kframever       5.56.0
6 %define         qtver           5.10.0
7 %define         kaname          itinerary
8 Summary:        Itinerary and boarding pass management application
9 Name:           ka5-%{kaname}
10 Version:        22.04.0
11 Release:        1
12 License:        GPL v2+/LGPL v2.1+
13 Group:          X11/Libraries
14 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
15 # Source0-md5:  229fdb54fc4c9454ad7a5f1a9f647c4e
16 URL:            https://community.kde.org/
17 BuildRequires:  Qt5DBus-devel >= 5.15.2
18 BuildRequires:  Qt5Gui-devel >= 5.15.2
19 BuildRequires:  Qt5Location-devel
20 BuildRequires:  Qt5Network-devel >= 5.15.2
21 BuildRequires:  Qt5Positioning-devel >= 5.15.2
22 BuildRequires:  Qt5Qml-devel >= 5.15.2
23 BuildRequires:  Qt5Quick-controls2-devel
24 BuildRequires:  Qt5Quick-devel
25 BuildRequires:  Qt5Test-devel
26 BuildRequires:  Qt5Widgets-devel >= 5.15.2
27 BuildRequires:  cmake >= 3.5
28 BuildRequires:  fontconfig-devel
29 BuildRequires:  freetype-devel
30 BuildRequires:  gettext-devel
31 BuildRequires:  ka5-kitinerary-devel >= %{kdeappsver}
32 BuildRequires:  ka5-kmime-devel >= %{kdeappsver}
33 BuildRequires:  ka5-kosmindoormap-devel >= %{kdeappsver}
34 BuildRequires:  ka5-kpkpass-devel >= %{kdeappsver}
35 BuildRequires:  ka5-kpublictransport-devel >= %{kdeappsver}
36 BuildRequires:  kf5-extra-cmake-modules >= 5.88
37 BuildRequires:  kf5-karchive-devel >= 5.91.0
38 BuildRequires:  kf5-kauth-devel >= 5.93.0
39 BuildRequires:  kf5-kcalendarcore-devel >= 5.91.0
40 BuildRequires:  kf5-kcodecs-devel >= 5.93.0
41 BuildRequires:  kf5-kcompletion-devel >= 5.93.0
42 BuildRequires:  kf5-kconfig-devel >= 5.93.0
43 BuildRequires:  kf5-kconfigwidgets-devel >= 5.93.0
44 BuildRequires:  kf5-kcontacts-devel >= 5.91.0
45 BuildRequires:  kf5-kcoreaddons-devel >= 5.93.0
46 BuildRequires:  kf5-kcrash-devel >= 5.88
47 BuildRequires:  kf5-kdbusaddons-devel >= 5.88
48 BuildRequires:  kf5-kholidays-devel >= 5.88
49 BuildRequires:  kf5-ki18n-devel >= 5.93.0
50 BuildRequires:  kf5-kio-devel >= 5.88
51 BuildRequires:  kf5-kitemviews-devel >= 5.93.0
52 BuildRequires:  kf5-kjobwidgets-devel >= 5.93.0
53 BuildRequires:  kf5-knotifications-devel >= 5.88
54 BuildRequires:  kf5-kservice-devel >= 5.93.0
55 BuildRequires:  kf5-kunitconversion-devel >= 5.88
56 BuildRequires:  kf5-kwidgetsaddons-devel >= 5.93.0
57 BuildRequires:  kf5-kxmlgui-devel >= 5.93.0
58 BuildRequires:  kf5-networkmanager-qt-devel >= 5.88
59 BuildRequires:  kf5-qqc2-desktop-style-devel >= 5.88
60 BuildRequires:  ninja
61 BuildRequires:  pkgconfig
62 BuildRequires:  qt5-build >= %{qtver}
63 BuildRequires:  rpmbuild(macros) >= 1.605
64 BuildRequires:  shared-mime-info >= 1.0
65 BuildRequires:  tar >= 1:1.22
66 BuildRequires:  xz
67 BuildRequires:  zlib-devel
68 BuildRequires:  zlib-devel
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 Itinerary and boarding pass management application.
73
74 %prep
75 %setup -q -n %{kaname}-%{version}
76
77 %build
78 install -d build
79 cd build
80 %cmake \
81         -G Ninja \
82         %{!?with_tests:-DBUILD_TESTING=OFF} \
83         -DHTML_INSTALL_DIR=%{_kdedocdir} \
84         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
85         ..
86 %ninja_build
87
88 %if %{with tests}
89 ctest
90 %endif
91
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 %ninja_install -C build
96
97 %find_lang %{kaname} --all-name --with-kde
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files -f %{kaname}.lang
103 %defattr(644,root,root,755)
104 %doc README.md
105 %attr(755,root,root) %{_bindir}/itinerary
106 %attr(755,root,root) %{_libdir}/libSolidExtras.so
107 %attr(755,root,root) %{_libdir}/qt5/plugins/itinerarythumbnail.so
108 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/solidextras/libsolidextrasqmlplugin.so
109 %{_libdir}/qt5/qml/org/kde/solidextras/qmldir
110 %{_desktopdir}/org.kde.itinerary.desktop
111 %{_iconsdir}/hicolor/scalable/apps/org.kde.itinerary.svg
112 %{_datadir}/knotifications5/itinerary.notifyrc
113 %{_datadir}/kservices5/itinerarythumbnail.desktop
114 %{_datadir}/metainfo/org.kde.itinerary.appdata.xml
115 %{_datadir}/qlogging-categories5/org_kde_itinerary.categories
This page took 0.09024 seconds and 3 git commands to generate.