fix dde-file-manager compile problem
This commit is contained in:
parent
429f64b8dc
commit
050cbe163f
Binary file not shown.
@ -1,60 +1,52 @@
|
||||
%bcond_with check
|
||||
|
||||
%global with_debug 1
|
||||
%if 0%{?with_debug}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
Name: udisks2-qt5
|
||||
Version: 5.0.3
|
||||
Release: 2
|
||||
Summary: Qt platform theme integration plugins for DDE
|
||||
Version: 5.0.6
|
||||
Release: 3.01
|
||||
Summary: Qt5 binding for udisks2
|
||||
License: GPLv3+
|
||||
Source0: %{name}-%{version}.orig.tar.xz
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
URL: https://github.com/linuxdeepin/udisks2-qt5
|
||||
Source0: %{name}_%{version}.tar.gz
|
||||
BuildRequires: gcc-c++ make
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
|
||||
%description
|
||||
Qt platform theme integration plugins for DDE
|
||||
Multiple Qt plugins to provide better Qt5 integration for DDE is included.
|
||||
|
||||
This package provides a Qt5 binding for udisks2.
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
Requires: %{name} = %{version}
|
||||
Summary: Development package for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel%{?isa}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
Header files and libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%setup -q
|
||||
sed -i 's|/lib|/%{_lib}|' udisks2.pro
|
||||
|
||||
%build
|
||||
mkdir build && cd build
|
||||
%{_libdir}/qt5/bin/qmake ..
|
||||
%{__make}
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
%qmake_qt5 PREFIX=%{_prefix}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
pushd %{_builddir}/%{name}-%{version}/build
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
popd
|
||||
mkdir -p %{?buildroot}%{_libdir}/ && mv %{?buildroot}/usr/lib/* %{?buildroot}%{_libdir}/
|
||||
|
||||
%files
|
||||
%{_libdir}/libudisks2-qt5.so.0
|
||||
%{_libdir}/libudisks2-qt5.so.0.0
|
||||
%{_libdir}/libudisks2-qt5.so.0.0.1
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md
|
||||
%{_libdir}/lib%{name}.so.0*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/udisks2-qt5
|
||||
%{_libdir}/libudisks2-qt5.so
|
||||
%{_libdir}/pkgconfig/udisks2-qt5.pc
|
||||
%license LICENSE
|
||||
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Mon Nov 13 2023 hanshuang <hanshuang@uniontech.com> - 5.0.6-3.01
|
||||
- fix: fix dde-file-manager compile problem
|
||||
|
||||
* Mon Aug 17 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.3-2
|
||||
- fix spec name
|
||||
|
||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.3-1
|
||||
- Package init
|
||||
|
||||
BIN
udisks2-qt5_5.0.6.tar.gz
Normal file
BIN
udisks2-qt5_5.0.6.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user