!1 Package init

From: @weidongkl
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-08-03 07:09:54 +00:00 committed by Gitee
commit f3c5be83f8
2 changed files with 47 additions and 0 deletions

47
libdbusextended-qt5.spec Normal file
View File

@ -0,0 +1,47 @@
Name: libdbusextended-qt5
Summary: Extended DBus for Qt
Version: 0.0.3
Release: 1
License: LGPLv2+
URL: https://github.com/nemomobile/qtdbusextended
Source0: https://github.com/nemomobile/qtdbusextended/archive/0.0.3/qtdbusextended-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
%description
%{summary}.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for %{name}.
%prep
%setup -q -n qtdbusextended-%{version}
%build
%qmake_qt5
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
%{_libdir}/lib*.so.1*
%files devel
%dir %{_qt5_includedir}/DBusExtended/
%{_qt5_includedir}/DBusExtended/DBusExtended
%{_qt5_includedir}/DBusExtended/DBusExtendedAbstractInterface
%{_qt5_includedir}/DBusExtended/dbusextended.h
%{_qt5_includedir}/DBusExtended/dbusextendedabstractinterface.h
%{_qt5_archdatadir}/mkspecs/features/*.prf
%{_libdir}/pkgconfig/*.pc
%{_libdir}/lib*.so
%changelog
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 0.0.3-1
- package init

BIN
qtdbusextended-0.0.3.tar.gz Normal file

Binary file not shown.