Group :: Graphical desktop/KDE
RPM: kde5-kpkpass
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname kpkpass
%define sover 5
%define libkpimpkpass libkpimpkpass%sover
Name: kde5-%rname
Version: 23.04.3
Release: alt1
%K5init altplace
Group: Graphical desktop/KDE
Summary: Apple Wallet pass files library
Url: http://www.kde.org
License: GPLv2+ / LGPLv2+
Source: %rname-%version.tar
BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules qt5-base-devel
BuildRequires: shared-mime-info
BuildRequires: kf5-karchive-devel
%description
Library to deal with Apple Wallet pass files.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.
%package -n %libkpimpkpass
Group: System/Libraries
Summary: %name library
Requires: %name-common = %version-%release
Provides: libkpimpkpass = %EVR
Obsoletes: libkpimpkpass < %EVR
%description -n %libkpimpkpass
%name library
%prep
%setup -n %rname-%version
%build
%K5build \
-DKDE_INSTALL_INCLUDEDIR=%_K5inc \
#
%install
%K5install
#mv %buildroot/%_K5xdgmime/application-vnd-apple-pkpass.xml \
# %buildroot/%_K5xdgmime/kde5-application-vnd-apple-pkpass.xml
%find_lang %name --all-name
%files common -f %name.lang
%doc LICENSES/* README.md
%_datadir/qlogging-categories5/*.*categories
#%_K5xdgmime/*.xml
%files devel
%_K5inc/KPim5/KPkPass/
%_K5link/lib*.so
%_K5lib/cmake/KPim*PkPass/
%files -n %libkpimpkpass
%_K5lib/libKPim5PkPass.so.%sover
%_K5lib/libKPim5PkPass.so.*
%changelog
…
Full changelog you can see here
%define sover 5
%define libkpimpkpass libkpimpkpass%sover
Name: kde5-%rname
Version: 23.04.3
Release: alt1
%K5init altplace
Group: Graphical desktop/KDE
Summary: Apple Wallet pass files library
Url: http://www.kde.org
License: GPLv2+ / LGPLv2+
Source: %rname-%version.tar
BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules qt5-base-devel
BuildRequires: shared-mime-info
BuildRequires: kf5-karchive-devel
%description
Library to deal with Apple Wallet pass files.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.
%package -n %libkpimpkpass
Group: System/Libraries
Summary: %name library
Requires: %name-common = %version-%release
Provides: libkpimpkpass = %EVR
Obsoletes: libkpimpkpass < %EVR
%description -n %libkpimpkpass
%name library
%prep
%setup -n %rname-%version
%build
%K5build \
-DKDE_INSTALL_INCLUDEDIR=%_K5inc \
#
%install
%K5install
#mv %buildroot/%_K5xdgmime/application-vnd-apple-pkpass.xml \
# %buildroot/%_K5xdgmime/kde5-application-vnd-apple-pkpass.xml
%find_lang %name --all-name
%files common -f %name.lang
%doc LICENSES/* README.md
%_datadir/qlogging-categories5/*.*categories
#%_K5xdgmime/*.xml
%files devel
%_K5inc/KPim5/KPkPass/
%_K5link/lib*.so
%_K5lib/cmake/KPim*PkPass/
%files -n %libkpimpkpass
%_K5lib/libKPim5PkPass.so.%sover
%_K5lib/libKPim5PkPass.so.*
%changelog
…
Full changelog you can see here