!1 Init package
From: @misaka00251 Reviewed-by: @panchenbo Signed-off-by: @panchenbo
This commit is contained in:
commit
5c5ddec15c
BIN
keditbookmarks-22.08.0.tar.xz
Normal file
BIN
keditbookmarks-22.08.0.tar.xz
Normal file
Binary file not shown.
87
keditbookmarks.spec
Normal file
87
keditbookmarks.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: keditbookmarks
|
||||
Summary: Bookmark organizer and editor
|
||||
Version: 22.08.0
|
||||
Release: 1
|
||||
License: GPLv2 and GPLv3 and GFDL-1.2-only
|
||||
URL: https://www.kde.org/
|
||||
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
|
||||
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kf5-rpm-macros
|
||||
BuildRequires: cmake(KF5Bookmarks)
|
||||
BuildRequires: cmake(KF5CoreAddons)
|
||||
BuildRequires: cmake(KF5DocTools)
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5IconThemes)
|
||||
BuildRequires: cmake(KF5KIO)
|
||||
BuildRequires: cmake(KF5Parts)
|
||||
BuildRequires: cmake(KF5WindowSystem)
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
|
||||
Conflicts: kde-l10n < 17.03
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
keditbookmarks is a bookmark organizer and editor.
|
||||
|
||||
|
||||
%package libs
|
||||
Summary: Runtime libraries for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -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}
|
||||
|
||||
%find_lang %{name} --all-name --with-html --with-man
|
||||
# unpackaged
|
||||
rm -fv %{buildroot}%{_kf5_libdir}/libkbookmarkmodel_private.so
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING*
|
||||
%{_kf5_bindir}/keditbookmarks
|
||||
%{_kf5_bindir}/kbookmarkmerger
|
||||
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
|
||||
%{_kf5_datadir}/config.kcfg/keditbookmarks.kcfg
|
||||
%{_kf5_datadir}/qlogging-categories5/%{name}*
|
||||
%{_mandir}/man1/kbookmarkmerger.1*
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files libs
|
||||
%{_kf5_libdir}/libkbookmarkmodel_private.so.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 27 2022 misaka00251 <misaka00251@misakanet.cn> - 22.08.0-1
|
||||
- Init package
|
||||
4
keditbookmarks.yaml
Normal file
4
keditbookmarks.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/keditbookmarks
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user