Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Deepin:Factory
deepin-widgets
deepin-widgets.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deepin-widgets.spec of Package deepin-widgets
# # spec file for package deepin-widgets # # 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-widgets Name: deepin-widgets Version: 6.0.21 Release: 0 Summary: Deepin widgets License: GPL-3.0+ Group: System/GUI/Other URL: https://github.com/linuxdeepin/dde-widgets Source: https://github.com/linuxdeepin/dde-widgets/archive/%{version}/%{_name}-%{version}.tar.gz # PATCH-FIX-UPSTRAM fix-library-link.patch hillwood@opensuse.org - Need link dde-widgets for libdde-calendarwidget-plugin Patch0: fix-library-link.patch BuildRequires: dtkcore BuildRequires: gtest BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(dtkcore) BuildRequires: pkgconfig(dtkgui) BuildRequires: pkgconfig(dtkwidget) %{?systemd_ordering} %description The deepin-widgets is the desktop widgets service/implementation for DDE. %package devel Summary: Development tools for deepin-widgets Group: Development/Languages/C and C++ Requires: %{name} = %{version} %description devel The deepin-widgets-devel package contains the header files and developer docs for deepin widgets. %lang_package %prep %autosetup -p1 -n %{_name}-%{version} sed -i "/dirs/s|/usr/lib|%{_libdir}|" app/widgetmanager.cpp %build %cmake %cmake_build %install %cmake_install %find_lang %{_name} --with-qt %find_lang %{_name}-memorymonitor --with-qt %find_lang %{_name}-notification --with-qt %find_lang %{_name}-worldclock --with-qt %find_lang %{_name}-calendar --with-qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.md README.zh_CN.md %license LICENSE %{_bindir}/%{_name} %{_libdir}/%{_name} %{_libdir}/lib%{_name}.so %{_datadir}/dbus-1/services/org.deepin.dde.Widgets1.service %{_userunitdir}/dde-osd.target.wants %{_userunitdir}/%{_name}.service %files devel %{_includedir}/%{_name} %dir %{_libdir}/cmake/DdeWidgets %{_libdir}/cmake/DdeWidgets/DdeWidgetsConfig.cmake %files lang -f %{_name}.lang -f %{_name}-memorymonitor.lang -f %{_name}-notification.lang -f %{_name}-worldclock.lang -f %{_name}-calendar.lang %dir %{_datadir}/%{_name} %dir %{_datadir}/%{_name}/translations %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