Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Deepin:Factory
deepin-network-core
deepin-network-core.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deepin-network-core.spec of Package deepin-network-core
# # spec file for package deepin-network-core # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 Hillwood Yang <hillwood@opensuse.org> # # 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/ # %define _name dde-network-core %define sover 2 %define gtest_version %(rpm -q --queryformat '%%{VERSION}' gtest) Name: deepin-network-core Version: 2.0.24 Release: 0 License: GPL-3.0+ Summary: Deepin Network Framework Group: Productivity/Networking/System URL: https://github.com/linuxdeepin/dde-network-core Source: https://github.com/linuxdeepin/dde-network-core/archive/%{version}/%{_name}-%{version}.tar.gz Patch0: fix-libdir.patch BuildRequires: gtest BuildRequires: libqt5-linguist BuildRequires: cmake(DdeControlCenter) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(KF5NetworkManagerQt) BuildRequires: cmake(DdeSessionShell) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(dtkwidget) BuildRequires: pkgconfig(dframeworkdbus) BuildRequires: pkgconfig(gsettings-qt) BuildRequires: pkgconfig(libnm) BuildRequires: pkgconfig(dde-dock) %description DDE network library framework. %package -n lib%{_name}%{sover} Summary: Deepin Network Framework library Group: System/Libraries %description -n lib%{_name}%{sover} Deepin Network Framework library. %package -n deepin-control-center-plugin-network Summary: Deepin Control Center Network Plugin Requires: %{name} = %{version} %description -n deepin-control-center-plugin-network Network plugin of Deepin Control Center. %package -n deepin-dock-plugin-network Summary: Deepin Dock Network Plugin Requires: %{name} = %{version} %description -n deepin-dock-plugin-network Network plugin of Deepin Dock. %package -n deepin-session-shell-plugin-network Summary: Deepin Seesion Shell Network Plugin Requires: %{name} = %{version} %description -n deepin-session-shell-plugin-network Network plugin of Deepin Seesion Shell. %package devel Summary: Development tools for Deepin Network Framework Group: Development/Libraries/C and C++ Requires: lib%{_name}%{sover} = %{version}-%{release} %description devel The deepin-network-utils-devel package contains the header files for deepin-network-utils. %lang_package %prep %autosetup -p1 -n %{_name}-%{version} sed -i "s/lupdate/lupdate-qt5/g" dss-network-plugin/lupdate.sh %if "%{gtest_version}" >= "1.14.0" sed -i "/CMAKE_CXX_STANDARD/s|11|14|" tests/CMakeLists.txt %endif %build %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} %cmake_build %install %cmake_install %find_lang dcc-network-plugin --with-qt # %find_lang dde-network-dialog --with-qt %find_lang dock-network-plugin --with-qt %find_lang dss-network-plugin --with-qt %post -n lib%{_name}%{sover} -p /sbin/ldconfig %postun -n lib%{_name}%{sover} -p /sbin/ldconfig %files %doc README.zh_CN.md README.md %license LICENSE # %{_bindir}/dde-network-dialog %dir %{_datadir}/dsg %dir %{_datadir}/dsg/configs %dir %{_datadir}/dsg/configs/org.deepin.dde.network %{_datadir}/dsg/configs/org.deepin.dde.network/org.deepin.dde.network.json %{_var}/lib/polkit-1/localauthority/10-vendor.d/10-network-manager.pkla %files -n lib%{_name}%{sover} %{_libdir}/lib%{_name}.so.* %files -n deepin-control-center-plugin-network %dir %{_libdir}/dde-control-center %dir %{_libdir}/dde-control-center/modules %{_libdir}/dde-control-center/modules/libdcc-network-plugin.so %files -n deepin-dock-plugin-network %dir %{_libdir}/dde-dock %dir %{_libdir}/dde-dock/plugins %{_libdir}/dde-dock/plugins/quick-trays %files -n deepin-session-shell-plugin-network %dir %{_libdir}/dde-session-shell %dir %{_libdir}/dde-session-shell/modules %{_libdir}/dde-session-shell/modules/libdss-network-plugin.so %files devel %{_libdir}/lib%{_name}.so %{_libdir}/pkgconfig/%{_name}.pc %{_includedir}/libddenetworkcore %files lang -f dcc-network-plugin.lang -f dock-network-plugin.lang -f dss-network-plugin.lang # deepin-control-center-plugin-network %dir %{_datadir}/dde-control-center %dir %{_datadir}/dde-control-center/translations %{_datadir}/dde-control-center/translations/dcc-network-plugin.qm %if 0%{?suse_version} <= 1500 %lang(kab) %{_datadir}/dde-control-center/translations/dcc-network-plugin_kab.qm %endif # deepin-dock-plugin-network %dir %{_datadir}/dock-network-plugin %dir %{_datadir}/dock-network-plugin/translations %{_datadir}/dock-network-plugin/translations/dock-network-plugin.qm %if 0%{?suse_version} <= 1500 %lang(kab) %{_datadir}/dock-network-plugin/translations/dock-network-plugin_kab.qm %endif # deepin-session-shell-plugin-network %dir %{_datadir}/dss-network-plugin %dir %{_datadir}/dss-network-plugin/translations %{_datadir}/dss-network-plugin/translations/dss-network-plugin.qm %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