peony-extensions/peony-extensions.spec

68 lines
1.4 KiB
RPMSpec
Raw Normal View History

2020-07-24 15:07:20 +08:00
%define debug_package %{nil}
Name: peony-extensions
2020-11-03 14:05:38 +08:00
Version: 3.0.0
Release: 1
2020-07-24 15:07:20 +08:00
Summary: Peony qt extensions (common files)
License: LGPL-3.0+
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconf
BuildRequires: glib2-devel
#BuildRequires: qt5-qmake
BuildRequires: qt5-qtbase-devel
BuildRequires: qtchooser
BuildRequires: libpeony-dev
2020-11-03 14:05:38 +08:00
#BuildRequires: libpeony3
2020-07-24 15:07:20 +08:00
BuildRequires: peony
BuildRequires: poppler-qt5-devel
BuildRequires: gsettings-qt-devel
Requires: samba-common-tools
Requires: samba
2020-11-03 14:05:38 +08:00
Requires: engrampa
2020-07-24 15:07:20 +08:00
Requires: mate-terminal
2020-11-03 14:05:38 +08:00
Requires: libpeony3
Requires: qt5-qtimageformats
Requires: polkit
2020-07-24 15:07:20 +08:00
%description
Peony is the official file manager for the UKUI desktop. This
package adds extended functionality to the Peony file manager.
%prep
%setup -q
%build
2020-11-03 14:05:38 +08:00
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
%{qmake_qt5} ..
%{make_build}
popd
2020-07-24 15:07:20 +08:00
%install
rm -rf $RPM_BUILD_ROOT
2020-11-03 14:05:38 +08:00
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
popd
2020-07-24 15:07:20 +08:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc debian/copyright debian/changelog
2020-11-03 14:05:38 +08:00
%{_libdir}/peony-extensions
%{_prefix}/share/
2020-07-24 15:07:20 +08:00
%changelog
2020-11-03 14:05:38 +08:00
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.0-1
- update to upstream version 3.0.0
2020-09-22 16:58:50 +08:00
* Tue Sep 22 2020 douyan <douyan@kylinos.cn> - 2.1.2-2
- fix peony file share issue
* Thu Jul 09 2020 douyan <douyan@kylinos.cn> - 2.1.2-1
2020-07-24 15:07:20 +08:00
- Init package for openEuler