init package
This commit is contained in:
parent
075aa71928
commit
aa97bd3ac1
50
disomaster.spec
Normal file
50
disomaster.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: disomaster
|
||||
Version: 5.0.1
|
||||
Release: 1
|
||||
Summary: Library to manipulate DISC burning
|
||||
License: GPLv3+
|
||||
URL: https://github.com/linuxdeepin/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}_%{version}.orig.tar.xz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: libisoburn-devel
|
||||
|
||||
%description
|
||||
This package provides a libisoburn wrapper class for Qt.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel%{?isa}
|
||||
Requires: libisoburn-devel%{?isa}
|
||||
|
||||
%description devel
|
||||
Header files and libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i 's|/lib|/%{_lib}|' lib%{name}/lib%{name}.pro
|
||||
|
||||
%build
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
%qmake_qt5 PREFIX=%{_prefix}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/lib%{name}.so.1*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.0.1-1
|
||||
- Initial release for OpenEuler
|
||||
BIN
disomaster_5.0.1.orig.tar.xz
Normal file
BIN
disomaster_5.0.1.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user