Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
PackageKit-Qt5
PackageKit-Qt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-Qt.spec of Package PackageKit-Qt5
# # spec file for package PackageKit-Qt # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define QtVersion 4 %if %{QtVersion} == 4 BuildRequires: libqt4-devel %define libpk libpackagekitqt4-0 %endif %if %{QtVersion} == 5 %define libpk libpackagekitqt5-0 %endif Name: PackageKit-Qt %define _name PackageKit-Qt Version: 0.9.5 Release: 0 Summary: Simple software installation management software License: LGPL-2.1+ Group: System/Daemons Url: http://packagekit.org/ Source: http://www.freedesktop.org/software/PackageKit/releases/%{_name}-%{version}.tar.xz Source99: pre_checkin.sh BuildRequires: PackageKit-devel >= %{version} BuildRequires: cmake BuildRequires: kde4-filesystem %if %{QtVersion} == 4 BuildRequires: libqt4-devel %endif %if %{QtVersion} == 5 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Sql) %endif %description PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %package -n %{libpk} Summary: Simple software installation management software Group: System/Libraries %description -n %{libpk} PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %package devel Summary: Simple software installation management software Group: Development/Libraries/C and C++ Requires: %{libpk} = %{version} %if %{QtVersion} == 4 Provides: libpackagekit-qt2-devel = %{version} Obsoletes: libpackagekit-qt2-devel < %{version} %endif %description devel PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %prep %setup -q -n %{_name}-%{version} %build mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %if %{QtVersion} == 5 -DUSE_QT5=ON \ %endif .. make %{?smp_mflags} %install cd build %make_install %post -n %{libpk} -p /sbin/ldconfig %postun -n %{libpk} -p /sbin/ldconfig %files -n %{libpk} %defattr(-,root,root) %doc COPYING NEWS AUTHORS %{_libdir}/libpackagekitqt?.so.* %files devel %defattr(-,root,root) %doc TODO MAINTAINERS %{_libdir}/libpackagekitqt?.so %{_libdir}/cmake/packagekitqt?/ %{_libdir}/pkgconfig/packagekitqt?.pc %{_includedir}/packagekitqt?/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor