deepin-dock/deepin-dock.spec

149 lines
4.3 KiB
RPMSpec
Raw Normal View History

%global repo dde-dock
Name: deepin-dock
2018-11-20 04:03:07 +00:00
Version: 4.8.0
2018-07-31 12:53:42 +00:00
Release: 1%{?dist}
Summary: Deepin desktop-environment - Dock module
License: GPLv3
URL: https://github.com/linuxdeepin/dde-dock
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
2018-07-31 12:53:42 +00:00
BuildRequires: cmake
2018-11-20 04:03:07 +00:00
BuildRequires: pkgconfig(dbusmenu-qt5)
2018-07-31 12:53:42 +00:00
BuildRequires: pkgconfig(dde-network-utils)
BuildRequires: pkgconfig(dtkwidget) >= 2.0.6
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(gtk+-2.0)
2017-12-10 12:45:44 +00:00
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Svg)
2017-12-10 12:45:44 +00:00
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xtst)
2017-12-10 12:45:44 +00:00
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: qt5-linguist
2017-12-10 12:45:44 +00:00
Requires: deepin-daemon
Requires: deepin-launcher
Requires: deepin-menu
2017-12-10 12:45:44 +00:00
Requires: deepin-qt5integration
%description
Deepin desktop-environment - Dock module.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for %{name}.
%prep
%setup -q -n %{repo}-%{version}
2018-07-31 12:53:42 +00:00
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
sed -i '/TARGETS/s|lib|%{_lib}|' plugins/*/CMakeLists.txt
sed -i 's|/lib|/%{_lib}|' frame/controller/dockpluginloader.cpp
2018-11-20 04:03:07 +00:00
sed -i -E '37d;/dpkg-architecture|EXIT/d' CMakeLists.txt
%build
2018-11-20 04:03:07 +00:00
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=%{_arch} -DDOCK_TRAY_USE_NATIVE_POPUP=YES .
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
2018-07-31 12:53:42 +00:00
%{_sysconfdir}/%{repo}/indicator/keybord_layout.json
%{_bindir}/%{repo}
%{_libdir}/%{repo}/
%{_datadir}/%{repo}/
%{_datadir}/dbus-1/services/*.service
%files devel
%{_includedir}/%{repo}/
2018-11-20 04:03:07 +00:00
%{_libdir}/pkgconfig/%{repo}.pc
%{_libdir}/cmake/DdeDock/DdeDockConfig.cmake
%changelog
2018-11-20 04:03:07 +00:00
* Mon Nov 12 2018 mosquito <sensor.wen@gmail.com> - 4.8.0-1
- Update to 4.8.0
2018-08-25 10:36:53 +00:00
* Sat Aug 25 2018 mosquito <sensor.wen@gmail.com> - 4.7.2-1
- Update to 4.7.2
* Fri Aug 10 2018 mosquito <sensor.wen@gmail.com> - 4.7.1.1-1
- Update to 4.7.1.1
2018-08-03 10:35:17 +00:00
* Thu Aug 2 2018 mosquito <sensor.wen@gmail.com> - 4.6.9-1
- Update to 4.6.9
2018-07-31 12:53:42 +00:00
* Fri Jul 27 2018 mosquito <sensor.wen@gmail.com> - 4.6.7-1
- Update to 4.6.7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-03-17 14:24:26 +00:00
* Fri Feb 16 2018 mosquito <sensor.wen@gmail.com> - 4.5.12-1
- Update to 4.5.12
* Sat Feb 10 2018 mosquito <sensor.wen@gmail.com> - 4.5.9.1-1
- Update to 4.5.9.1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-12-28 15:12:37 +00:00
* Wed Dec 20 2017 mosquito <sensor.wen@gmail.com> - 4.5.9-1
- Update to 4.5.9
2017-12-10 12:45:44 +00:00
* Sat Dec 9 2017 mosquito <sensor.wen@gmail.com> - 4.5.7.1-1
- Update to 4.5.7.1
* Sat Dec 2 2017 mosquito <sensor.wen@gmail.com> - 4.5.7-1
- Update to 4.5.7
* Wed Nov 15 2017 mosquito <sensor.wen@gmail.com> - 4.5.1-1
- Update to 4.5.1
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 4.4.1-1
- Update to 4.4.1
* Sun Aug 20 2017 mosquito <sensor.wen@gmail.com> - 4.3.4-1
- Update to 4.3.4
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 4.3.3-1.gitbf79f1c
- Update to 4.3.3
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 4.2.1-1.git42610ae
- Update to 4.2.1
* Tue Mar 7 2017 mosquito <sensor.wen@gmail.com> - 4.1.4-1.gitd772fe2
- Update to 4.1.4
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 4.1.3-1.git26f189d
- Update to 4.1.3
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 4.0.8-1.gita882590
- Update to 4.0.8
* Mon Jan 16 2017 Jaroslav <cz.guardian@gmail.com> Stepanek 4.0.7-1
- Update to version 4.0.7 and renamed to deepin-dock
* Mon Dec 19 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 4.0.6-1
- Update to version 4.0.6
* Sun Dec 04 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 4.0.5-2
- Rebuild with newer deepin-tool-kit
* Sun Oct 02 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 4.0.5-1
- Initial package build