67 lines
1.5 KiB
RPMSpec
67 lines
1.5 KiB
RPMSpec
%bcond_with check
|
|
%global _unpackaged_files_terminate_build 0
|
|
%global debug_package %{nil}
|
|
%global sname libgio-qt
|
|
|
|
Name: gio-qt
|
|
Version: 0.0.8
|
|
Release: 1
|
|
Summary: This library is designed to be exception-free and avoid Qt application developer do direct access to glib/glibmm
|
|
|
|
License: GPLv3
|
|
URL: https://uos-packages.deepin.com/uos/pool/main/g/gio-qt/
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
|
|
BuildRequires: cmake qt5-qtbase-devel glibmm24-devel doxygen
|
|
|
|
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
%package -n %{sname}
|
|
Summary: %{summary}
|
|
%description -n %{sname}
|
|
|
|
|
|
%package -n %{sname}-devel
|
|
Summary: %{summary}
|
|
%description -n %{sname}-devel
|
|
|
|
%prep
|
|
%setup
|
|
sed -i 's|VERSION 3.12.4|VERSION 3.11.4|g' CMakeLists.txt
|
|
sed -i 's|BUILD_DOCS "Build documentation" ON|BUILD_DOCS "Build documentation" OFF|g' CMakeLists.txt
|
|
|
|
%build
|
|
cmake .
|
|
make
|
|
%install
|
|
%make_install
|
|
|
|
%files -n %{sname}
|
|
/usr/lib64/libgio-qt.so
|
|
/usr/lib64/libgio-qt.so.0
|
|
/usr/lib64/libgio-qt.so.0.0.1
|
|
|
|
%files -n %{sname}-devel
|
|
%{_includedir}/%{name}/dgiodrive.h
|
|
%{_includedir}/%{name}/dgiofile.h
|
|
%{_includedir}/%{name}/dgiofileinfo.h
|
|
%{_includedir}/%{name}/dgiofileiterator.h
|
|
%{_includedir}/%{name}/dgiomount.h
|
|
%{_includedir}/%{name}/dgiomountoperation.h
|
|
%{_includedir}/%{name}/dgiosettings.h
|
|
%{_includedir}/%{name}/dgiovolume.h
|
|
%{_includedir}/%{name}/dgiovolumemanager.h
|
|
%{_includedir}/%{name}/dglibutils.h
|
|
%{_libdir}/pkgconfig/gio-qt.pc
|
|
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
|
|
%changelog
|
|
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 0.0.8-1
|
|
- Initial release for OpenEuler
|