Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Unstable:Extra
smb4k
smb4k.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smb4k.spec of Package smb4k
# # spec file for package smb4k # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # %if "%{?_kf5_dbuspolicydir}" == "" # new since KF 5.59 (where the location changed), point to old location if not defined %define _kf5_dbuspolicydir %{_kf5_sysconfdir}/dbus-1/system.d %endif Name: smb4k Version: 1.2.0 Release: 0 Summary: Advanced Network Neighborhood Browser for KDE License: GPL-2.0-or-later Group: Productivity/Networking/Samba URL: http://smb4k.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: gettext BuildRequires: kauth-devel BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kdbusaddons-devel BuildRequires: kdelibs4support-devel BuildRequires: kdoctools-devel BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kjobwidgets-devel BuildRequires: knotifications-devel BuildRequires: kparts-devel BuildRequires: kwallet-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kxmlgui-devel BuildRequires: pkgconfig BuildRequires: plasma-framework-devel BuildRequires: solid-devel BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: cmake(Qt5Core) >= 5.6.0 BuildRequires: cmake(Qt5Gui) >= 5.6.0 BuildRequires: cmake(Qt5PrintSupport) >= 5.6.0 BuildRequires: cmake(Qt5Qml) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 BuildRequires: cmake(Qt5Widgets) >= 5.6.0 BuildRequires: pkgconfig(smbclient) Requires: cifs-utils Requires: samba-client Recommends: %{name}-doc = %{version} Recommends: %{name}-lang = %{version} Recommends: rsync %description Smb4K is an advanced network neighborhood browser for KDE and a frontend to the programs of the Samba software suite. Its purpose is to provide a program that's easy to use and has as many features as possible. %package doc Summary: Documentation for smb4k Group: Documentation/HTML Requires: %{name} = %{version} %description doc Smb4K is an advanced network neighborhood browser for KDE and a frontend to the programs of the Samba software suite. Its purpose is to provide a program that's easy to use and has as many features as possible. This package provides the documentation for smb4k. %prep %setup -q %if 0%{?suse_version} echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%{name}-rpmlintrc echo "setBadness('polkit-unauthorized-privilege', 0)" >> $RPM_SOURCE_DIR/%{name}-rpmlintrc %endif sed -i '/smbc_setOptionProtocols/d' core/smb4kclient_p.cpp %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build # Not needed, fix "devel-file-in-non-devel-package" rpmlint warning rm -f %{buildroot}%{_libdir}/libsmb4kcore.so %if 0%{?suse_version} %suse_update_desktop_file -r org.kde.%{name} Qt KDE System Network %endif %fdupes -s %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %doc AUTHORS BUGS ChangeLog README %dir %{_kf5_sharedir}/plasma/plasmoids %{_kf5_applicationsdir}/org.kde.smb4k.desktop %{_kf5_appstreamdir} %{_kf5_bindir}/smb4k %{_kf5_configkcfgdir}/ %{_kf5_dbuspolicydir}/org.kde.smb4k.mounthelper.conf %{_kf5_iconsdir}/hicolor/*/apps/smb4k.png %{_kf5_iconsdir}/oxygen/*/apps/smb4k.png %{_kf5_kxmlguidir}/smb4k/ %{_kf5_libdir}/libexec/kauth/mounthelper %{_kf5_libdir}/libsmb4kcore.so.* %{_kf5_notifydir}/smb4k.notifyrc %{_kf5_plugindir}/smb4k*.so %{_kf5_qmldir}/org/kde/smb4k/ %{_kf5_servicesdir}/plasma-applet-org.kde.smb4kqml.desktop %{_kf5_sharedir}/dbus-1/system-services/org.kde.smb4k.mounthelper.service %{_kf5_sharedir}/kconf_update/ %{_kf5_sharedir}/plasma/plasmoids/org.kde.smb4kqml/ %{_kf5_sharedir}/polkit-1/actions/org.kde.smb4k.mounthelper.policy %files doc %doc %lang(en) %{_kf5_htmldir}/en/smb4k/ %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