update_source
This commit is contained in:
parent
06eb6740e4
commit
351e2e2c00
BIN
peony-extensions-2.1.2.tar.gz
Normal file
BIN
peony-extensions-2.1.2.tar.gz
Normal file
Binary file not shown.
61
peony-extensions.spec
Normal file
61
peony-extensions.spec
Normal file
@ -0,0 +1,61 @@
|
||||
%define debug_package %{nil}
|
||||
Name: peony-extensions
|
||||
Version: 2.1.2
|
||||
Release: 1
|
||||
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
|
||||
BuildRequires: libpeony2
|
||||
BuildRequires: peony
|
||||
BuildRequires: poppler-qt5-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
|
||||
Requires: samba-common-tools
|
||||
Requires: samba
|
||||
#Requires: engrampa
|
||||
Requires: mate-terminal
|
||||
Requires: libpeony2
|
||||
|
||||
%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
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd %{_builddir}/%{name}-%{version}/build
|
||||
#make INSTALL_ROOT=/root/rpmbuild/BUILDROOT install
|
||||
|
||||
mkdir -p %{buildroot}/usr/lib/peony-qt-extensions
|
||||
cp -rf %{_builddir}/%{name}-%{version}/peony-extensions-cmake/peony-qt-share/libpeony-qt-share.* %{buildroot}/usr/lib/peony-qt-extensions
|
||||
|
||||
cp -rf %{_builddir}/%{name}-%{version}/testdir/libpeony-qt-engrampa-menu-plugin.* %{buildroot}/usr/lib/peony-qt-extensions
|
||||
cp -rf %{_builddir}/%{name}-%{version}/testdir/libpeony-qt-menu-plugin-mate-terminal.* %{buildroot}/usr/lib/peony-qt-extensions
|
||||
cp -rf %{_builddir}/%{name}-%{version}/testdir/libpeony-qt-computer-view-plugin.so %{buildroot}/usr/lib/peony-qt-extensions
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%doc debian/copyright debian/changelog
|
||||
%{_prefix}/lib/peony-qt-extensions
|
||||
|
||||
%changelog
|
||||
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.1.2-1
|
||||
- Init package for openEuler
|
||||
Loading…
x
Reference in New Issue
Block a user