itinerary/itinerary.spec

95 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: itinerary
Version: 22.04.3
Release: 1mamba
Summary: KDE itinerary and boarding pass management application
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/itinerary-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Positioning-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkcalendarcore-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcontacts-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkholidays-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkitinerary-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkmime-devel
BuildRequires: libknotifications-devel
BuildRequires: libkosmindoormap-devel
BuildRequires: libkpkpass-devel
BuildRequires: libkpublictransport-devel
BuildRequires: libkservice-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libnetworkmanager-qt5-devel
BuildRequires: libnm-devel
BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquickcontrols2-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
%description
KDE itinerary and boarding pass management application.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_bindir}/itinerary
%{_libdir}/libSolidExtras.so
%{_libdir}/qt5/plugins/itinerarythumbnail.so
%{_libdir}/qt5/qml/org/kde/solidextras/*
%{_datadir}/applications/org.kde.itinerary.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.kde.itinerary.svg
%{_datadir}/knotifications5/itinerary.notifyrc
%{_datadir}/kservices5/itinerarythumbnail.desktop
%{_datadir}/metainfo/org.kde.itinerary.appdata.xml
%{_datadir}/qlogging-categories5/org_kde_itinerary.categories
%doc LICENSES
%changelog
* Fri Jul 08 2022 Automatic Build System <autodist@mambasoft.it> 22.04.3-1mamba
- automatic version update by autodist
* Mon Jun 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.04.2-1mamba
- package created using the webbuild interface