init package for openEuler
This commit is contained in:
parent
72c8a85968
commit
3ca4772be1
BIN
kylin-user-guide-1.0.0.tar.gz
Normal file
BIN
kylin-user-guide-1.0.0.tar.gz
Normal file
Binary file not shown.
81
kylin-user-guide.spec
Normal file
81
kylin-user-guide.spec
Normal file
@ -0,0 +1,81 @@
|
||||
%define debug_package %{nil}
|
||||
Name: kylin-user-guide
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: A component of the ukui desktop environment that provides convenient text
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
%if 0
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: kf5-kwindowsystem-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qtwebkit-devel
|
||||
BuildRequires: pkgconf
|
||||
BuildRequires: libX11-devel
|
||||
|
||||
|
||||
Requires: js-jquery
|
||||
Requires: nodejs-requirejs
|
||||
Requires: kylin-user-guide-common
|
||||
|
||||
%endif
|
||||
|
||||
%description
|
||||
A component of the ukui desktop environment that provides convenient text recording and flexible interface display
|
||||
|
||||
%package common
|
||||
summary: common picture file
|
||||
|
||||
|
||||
%description common
|
||||
this packages contains the picture of application
|
||||
|
||||
%if 0
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
cd %{_builddir}/%{name}-%{version}/build
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
mkdir -p %{buildroot}/usr/share/kylin-user-guide/web
|
||||
cp -r %{_builddir}/%{name}-%{version}/src/web/*.html %{buildroot}/usr/share/kylin-user-guide/web
|
||||
|
||||
mkdir -p %{buildroot}/etc/xdg/autostart/
|
||||
cp -r %{_builddir}/%{name}-%{version}/src/data/kylin-user-guide.desktop %{buildroot}/etc/xdg/autostart/
|
||||
|
||||
mkdir -p %{buildroot}/usr/share/kylin-user-guide/data
|
||||
cp -r %{_builddir}/%{name}-%{version}/data/*png %{buildroot}/usr/share/kylin-user-guide/data
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%{_bindir}/kylin-user-guide
|
||||
%{_bindir}/user-guide-daemon
|
||||
%{_datadir}/icons/hicolor/22x22/apps/kylin-user-guide.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/kylin-user-guide.png
|
||||
%{_datadir}/icons/hicolor/56x56/apps/kylin-user-guide.png
|
||||
%{_datadir}/kylin-user-guide/web/*
|
||||
%{_sysconfdir}/xdg/autostart/kylin-user-guide.desktop
|
||||
|
||||
%files common
|
||||
%{_datadir}/kylin-user-guide/data/*
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Tue Mar 15 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.0-1
|
||||
- init for openEuler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user