Accepting request 530945 from home:1dot75cm:branches:X11:Deepin
new package OBS-URL: https://build.opensuse.org/request/show/530945 OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/dtkwm?expand=0&rev=1
This commit is contained in:
commit
6cd596c9a1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
dtkwm-2.0.0.tar.gz
Normal file
3
dtkwm-2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:233f1f019bcb77122ec1c49ea468678ceccfc6268111e6c6e9a0bc9b20889056
|
||||
size 20318
|
4
dtkwm.changes
Normal file
4
dtkwm.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 15:29:45 UTC 2017 - sensor.wen@gmail.com
|
||||
|
||||
- Initial package.
|
99
dtkwm.spec
Normal file
99
dtkwm.spec
Normal file
@ -0,0 +1,99 @@
|
||||
#
|
||||
# spec file for package deepin-tool-kit
|
||||
#
|
||||
# Copyright (c) 2017 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%global libver 2
|
||||
|
||||
Name: dtkwm
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Deepin graphical user interface library
|
||||
License: GPL-3.0+
|
||||
URL: https://github.com/linuxdeepin/dtkwm
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: libQt5PlatformSupport-devel-static
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(dtkcore)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
BuildRequires: pkgconfig(xcb-util)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
%if 0%{?suse_version} < 1330
|
||||
BuildRequires: gcc5-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
DtkWm is used to handle double screen for deepin desktop development.
|
||||
This package contains the shared libraries.
|
||||
|
||||
%package -n lib%{name}%{libver}
|
||||
Summary: Dtkcore libraries
|
||||
Group: Development/Libraries/X11
|
||||
|
||||
%description -n lib%{name}%{libver}
|
||||
Deepint Tool Kit (Dtk) is the base devlopment tool of all C++/Qt Developer work
|
||||
on Deepin.
|
||||
|
||||
You shoud read the [Deepin Application Specification](doc/Specification) firstly.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Group: Development/Libraries/X11
|
||||
Requires: lib%{name}%{libver}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Header files and libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%qmake5 \
|
||||
%if 0%{?suse_version} < 1330
|
||||
QMAKE_CC=gcc-5 \
|
||||
QMAKE_CXX=g++-5 \
|
||||
QMAKE_LINK=g++-5 \
|
||||
%endif
|
||||
PREFIX=%{_prefix} \
|
||||
LIB_INSTALL_DIR=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%qmake5_install
|
||||
|
||||
%post -n lib%{name}%{libver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}%{libver} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}%{libver}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md LICENSE
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/libdtk-*/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/lib%{name}.so
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user