73 lines
2.0 KiB
RPMSpec
73 lines
2.0 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: markdownpart
|
||
|
Version: 20.12.1
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Markdown Viewer KPart
|
||
|
Group: Graphical Desktop/Applications/Publishing
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: https://download.kde.org/stable/release-service/%{version}/src/markdownpart-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: ldconfig
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkauth-devel
|
||
|
BuildRequires: libkcodecs-devel
|
||
|
BuildRequires: libkcompletion-devel
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkconfigwidgets-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkjobwidgets-devel
|
||
|
BuildRequires: libkparts-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libktextwidgets-devel
|
||
|
BuildRequires: libkwidgetsaddons-devel
|
||
|
BuildRequires: libkwindowsystem-devel
|
||
|
BuildRequires: libkxmlgui-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libsonnet-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Markdown Viewer KPart.
|
||
|
|
||
|
%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)
|
||
|
%{_libdir}/qt5/plugins/kf5/parts/markdownpart.so
|
||
|
%{_datadir}/kservices5/markdownpart.desktop
|
||
|
%{_datadir}/metainfo/org.kde.markdownpart.metainfo.xml
|
||
|
%doc LICENSES
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20.12.1-1mamba
|
||
|
- package created using the webbuild interface
|