74 lines
1.6 KiB
RPMSpec
74 lines
1.6 KiB
RPMSpec
%global framework libkexiv2
|
|
|
|
Name: kf5-libkexiv2
|
|
Summary: A wrapper around Exiv2 library
|
|
Version: 23.08.4
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
|
URL: https://invent.kde.org/graphics/%{framework}
|
|
|
|
%global majmin %majmin_ver_kf5
|
|
%global stable %stable_kf5
|
|
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: pkgconfig(exiv2)
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
%description
|
|
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata
|
|
as EXIF IPTC and XMP.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: qt5-qtbase-devel
|
|
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
%build
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} ..
|
|
popd
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%doc AUTHORS README
|
|
%license LICENSES/*
|
|
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
|
%{_kf5_libdir}/libKF5KExiv2.so.*
|
|
|
|
%files devel
|
|
%{_kf5_libdir}/libKF5KExiv2.so
|
|
%{_kf5_includedir}/KExiv2/
|
|
%{_kf5_libdir}/cmake/KF5KExiv2/
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.4-1
|
|
- 23.08.4
|
|
|
|
* Fri Aug 04 2023 peijiankang <peijiankang@kylinos.cn> - 23.04.3-1
|
|
- 23.04.3
|
|
|
|
* Fri May 12 2023 misaka00251 <liuxin@iscas.ac.cn> - 22.12.0-1
|
|
- Init package
|