|
|
fc49bdf |
Name: startdde
|
|
|
064201b |
Version: 5.0.1
|
|
|
e58a164 |
Release: 3%{?dist}
|
|
|
fc49bdf |
Summary: Starter of deepin desktop environment
|
|
|
fc49bdf |
License: GPLv3
|
|
|
fc49bdf |
URL: https://github.com/linuxdeepin/startdde
|
|
|
fc49bdf |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
fc49bdf |
|
|
|
fc49bdf |
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
|
|
|
f946cc4 |
BuildRequires: golang jq
|
|
|
fc49bdf |
BuildRequires: deepin-gir-generator
|
|
|
f3401f5 |
BuildRequires: golang(pkg.deepin.io/dde/api/dxinput) >= 3.1.26
|
|
|
f3401f5 |
BuildRequires: golang(pkg.deepin.io/lib) >= 1.2.11
|
|
|
dd2696e |
BuildRequires: golang(github.com/linuxdeepin/go-dbus-factory/org.bluez)
|
|
|
f3401f5 |
BuildRequires: golang(github.com/linuxdeepin/go-x11-client)
|
|
|
abb2a76 |
BuildRequires: golang(github.com/cryptix/wav)
|
|
|
fc49bdf |
BuildRequires: golang(github.com/BurntSushi/xgb)
|
|
|
fc49bdf |
BuildRequires: golang(github.com/BurntSushi/xgbutil)
|
|
|
abb2a76 |
BuildRequires: pkgconfig(alsa)
|
|
|
fc49bdf |
BuildRequires: pkgconfig(libcanberra)
|
|
|
88fd550 |
BuildRequires: pkgconfig(libpulse)
|
|
|
76bb664 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
76bb664 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
76bb664 |
BuildRequires: pkgconfig(gdk-3.0)
|
|
|
abb2a76 |
BuildRequires: pkgconfig(gdk-pixbuf-xlib-2.0)
|
|
|
f946cc4 |
BuildRequires: pkgconfig(gnome-keyring-1)
|
|
|
76bb664 |
BuildRequires: pkgconfig(x11)
|
|
|
76bb664 |
BuildRequires: pkgconfig(xi)
|
|
|
fc49bdf |
BuildRequires: pkgconfig(systemd)
|
|
|
fc49bdf |
%{?systemd_requires}
|
|
|
fc49bdf |
Requires: deepin-daemon
|
|
|
064201b |
Requires: deepin-kwin
|
|
|
f3401f5 |
Requires: libcgroup-tools
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%description
|
|
|
fc49bdf |
Startdde is used for launching DDE components and invoking user's
|
|
|
fc49bdf |
custom applications which compliant with xdg autostart specification.
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%prep
|
|
|
fc49bdf |
%setup -q
|
|
|
fc49bdf |
|
|
|
c6b3752 |
sed -i '/polkit/s|lib|libexec|' watchdog/dde_polkit_agent.go
|
|
|
f3401f5 |
sed -i '/deepin-daemon/s|lib|libexec|' utils.go session.go misc/auto_launch/*.json
|
|
|
2e82208 |
# Fix fallback session script path (RHBZ#1706281)
|
|
|
2e82208 |
sed -i 's|/usr/sbin/lightdm-session|%{_sysconfdir}/X11/xinit/Xsession|' misc/deepin-session
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%build
|
|
|
fc49bdf |
export GOPATH="%{gopath}"
|
|
|
abb2a76 |
BUILD_ID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')"
|
|
|
abb2a76 |
%make_build GOBUILD="go build -compiler gc -ldflags \"${LDFLAGS} -B $BUILD_ID\" -a -v -x"
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%install
|
|
|
fc49bdf |
%make_install
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%post
|
|
|
fc49bdf |
%systemd_post dde-readahead.service
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%preun
|
|
|
fc49bdf |
%systemd_preun dde-readahead.service
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%postun
|
|
|
fc49bdf |
%systemd_postun_with_restart dde-readahead.service
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%files
|
|
|
fc49bdf |
%doc README.md
|
|
|
fc49bdf |
%license LICENSE
|
|
|
98a113c |
%{_sysconfdir}/X11/Xsession.d/00deepin-dde-env
|
|
|
fc49bdf |
%{_bindir}/%{name}
|
|
|
f946cc4 |
%{_sbindir}/deepin-session
|
|
|
f946cc4 |
%{_sbindir}/deepin-fix-xauthority-perm
|
|
|
fc49bdf |
%{_datadir}/xsessions/deepin.desktop
|
|
|
f946cc4 |
%{_datadir}/lightdm/lightdm.conf.d/60-deepin.conf
|
|
|
f946cc4 |
%{_datadir}/%{name}/auto_launch.json
|
|
|
f946cc4 |
%{_datadir}/%{name}/memchecker.json
|
|
|
fc49bdf |
|
|
|
fc49bdf |
%changelog
|
|
|
e58a164 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
e58a164 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e58a164 |
|
|
|
5c75cb8 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
|
|
|
5c75cb8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5c75cb8 |
|
|
|
064201b |
* Mon Aug 05 2019 Robin Lee <cheeselee@fedoraproject.org> - 5.0.1-1
|
|
|
064201b |
- Release 5.0.1
|
|
|
064201b |
|
|
|
d71cbab |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-4
|
|
|
d71cbab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d71cbab |
|
|
Li Rui Bin |
d67fcb5 |
* Mon May 20 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.12.1-3
|
|
Li Rui Bin |
d67fcb5 |
- Add a patch to fix RHBZ#1711001
|
|
Li Rui Bin |
d67fcb5 |
|
|
|
2e82208 |
* Thu May 16 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.12.1-2
|
|
|
2e82208 |
- Fix fallback session script path (RHBZ#1706281)
|
|
|
2e82208 |
|
|
|
265299d |
* Wed Feb 27 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.12.1-1
|
|
|
265299d |
- Update to 3.12.1
|
|
|
265299d |
|
|
|
98a113c |
* Tue Feb 19 2019 mosquito <sensor.wen@gmail.com> - 3.11.0-1
|
|
|
98a113c |
- Update to 3.11.0
|
|
|
98a113c |
|
|
|
912a812 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
|
|
|
912a812 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
912a812 |
|
|
|
c6b3752 |
* Wed Dec 12 2018 mosquito <sensor.wen@gmail.com> - 3.6.0-1
|
|
|
c6b3752 |
- Update to 3.6.0
|
|
|
c6b3752 |
|
|
|
5843da3 |
* Thu Nov 29 2018 mosquito <sensor.wen@gmail.com> - 3.4.0-1
|
|
|
5843da3 |
- Update to 3.4.0
|
|
|
5843da3 |
|
|
|
dd2696e |
* Fri Nov 9 2018 mosquito <sensor.wen@gmail.com> - 3.3.0-1
|
|
|
dd2696e |
- Update to 3.3.0
|
|
|
dd2696e |
|
|
|
472c6ff |
* Mon Aug 20 2018 mosquito <sensor.wen@gmail.com> - 3.1.33-1
|
|
|
f3401f5 |
- Update to 3.1.33
|
|
|
f946cc4 |
|
|
|
b68a262 |
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.1.24-3
|
|
|
b68a262 |
- Rebuild with fixed binutils
|
|
|
b68a262 |
|
|
|
2615caf |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.24-2
|
|
|
2615caf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2615caf |
|
|
|
035e1f7 |
* Fri Feb 16 2018 mosquito <sensor.wen@gmail.com> - 3.1.24-1
|
|
|
035e1f7 |
- Update to 3.1.24
|
|
|
035e1f7 |
|
|
|
9c4da94 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.23-2
|
|
|
9c4da94 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9c4da94 |
|
|
|
abb2a76 |
* Thu Dec 21 2017 mosquito <sensor.wen@gmail.com> - 3.1.23-1
|
|
|
abb2a76 |
- Update to 3.1.23
|
|
|
abb2a76 |
|
|
|
88fd550 |
* Sat Dec 2 2017 mosquito <sensor.wen@gmail.com> - 3.1.22-1
|
|
|
88fd550 |
- Update to 3.1.22
|
|
|
88fd550 |
|
|
|
88fd550 |
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 3.1.17-1
|
|
|
88fd550 |
- Update to 3.1.17
|
|
|
88fd550 |
|
|
|
76bb664 |
* Fri Oct 13 2017 mosquito <sensor.wen@gmail.com> - 3.1.16-1
|
|
|
76bb664 |
- Update to 3.1.16
|
|
|
76bb664 |
|
|
|
fc49bdf |
* Sat Aug 26 2017 mosquito <sensor.wen@gmail.com> - 3.1.15-1
|
|
|
fc49bdf |
- Update to 3.1.15
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Tue Aug 1 2017 mosquito <sensor.wen@gmail.com> - 3.1.14-1
|
|
|
fc49bdf |
- Update to 3.1.14
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 3.1.13-1.git08de5b9
|
|
|
fc49bdf |
- Update to 3.1.13
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 3.1.8-1.gita9130d0
|
|
|
fc49bdf |
- Update to 3.1.8
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 3.1.2-1.gitd7c1216
|
|
|
fc49bdf |
- Update to 3.1.2
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 3.0.14.1-1.gitd3ba123
|
|
|
fc49bdf |
- Update to 3.0.14.1
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Wed Dec 28 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.13-2
|
|
|
fc49bdf |
- Updated GO dependencies
|
|
|
fc49bdf |
- Fixed wrong system path for dde-readahead
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Sun Dec 18 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.13-1
|
|
|
fc49bdf |
- Update to package 3.0.13
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Sat Oct 01 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.12-1
|
|
|
fc49bdf |
- Update to package 3.0.12
|
|
|
fc49bdf |
|
|
|
fc49bdf |
* Sat Oct 01 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.11-1
|
|
|
fc49bdf |
- Initial package build
|