init package
This commit is contained in:
parent
94e00b8305
commit
9a01388a33
77
PackageKit-Qt.spec
Normal file
77
PackageKit-Qt.spec
Normal file
@ -0,0 +1,77 @@
|
||||
|
||||
Summary: Qt support library for PackageKit
|
||||
Name: PackageKit-Qt
|
||||
Version: 1.0.1
|
||||
Release: 5
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.packagekit.org/
|
||||
|
||||
Source0: https://github.com/hughsie/PackageKit-Qt/archive/v%{version}.tar.gz
|
||||
|
||||
# Upstream patches
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: gcc-c++
|
||||
# required for /usr/share/dbus-1/interfaces/*.xml
|
||||
BuildRequires: PackageKit >= 0.9.1 PackageKit-help
|
||||
|
||||
Recommends: PackageKit
|
||||
|
||||
## FIXME/TODO:
|
||||
# Qt4-based PackageKit-Qt no longer supported or built since 0.10.0 release, add Obsoletes somewhere?
|
||||
# consider renaming PackageKit-Qt5 -> PackageKit-Qt ? -- rex
|
||||
|
||||
%description
|
||||
PackageKit-Qt is a Qt support library for PackageKit
|
||||
|
||||
%package -n PackageKit-Qt5
|
||||
Summary: Qt5 support library for PackageKit
|
||||
Recommends: PackageKit
|
||||
%description -n PackageKit-Qt5
|
||||
%{summary}.
|
||||
|
||||
%package -n PackageKit-Qt5-devel
|
||||
Summary: Development files for PackageKit-Qt5
|
||||
Requires: PackageKit-Qt5%{?_isa} = %{version}-%{release}
|
||||
%description -n PackageKit-Qt5-devel
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%ldconfig_scriptlets -n PackageKit-Qt5
|
||||
|
||||
%files -n PackageKit-Qt5
|
||||
%doc AUTHORS NEWS
|
||||
%license COPYING
|
||||
%{_libdir}/libpackagekitqt5.so.%{version}
|
||||
%{_libdir}/libpackagekitqt5.so.1
|
||||
|
||||
%files -n PackageKit-Qt5-devel
|
||||
%{_libdir}/libpackagekitqt5.so
|
||||
%{_libdir}/pkgconfig/packagekitqt5.pc
|
||||
%{_includedir}/packagekitqt5/
|
||||
%dir %{_libdir}/cmake
|
||||
%{_libdir}/cmake/packagekitqt5/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 1.0.1-5
|
||||
- Initial release for OpenEuler
|
||||
BIN
v1.0.1.tar.gz
Normal file
BIN
v1.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user