%global repo dde-network-utils Name: deepin-network-utils Version: 5.1.0.0 Release: 1%{?dist} Summary: Deepin desktop-environment - network utils License: GPLv3 URL: https://github.com/linuxdeepin/dde-network-utils Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: pkgconfig(dframeworkdbus) >= 2.0 BuildRequires: pkgconfig(Qt5Core) BuildRequires: qt5-linguist %description Deepin desktop-environment - network utils. %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} sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh sed -i 's|/lib$|/%{_lib}|' dde-network-utils.pro %build %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %doc README.md %{_libdir}/lib*.so.1 %{_libdir}/lib*.so.1.* %{_datadir}/%{repo}/ %files devel %{_includedir}/libddenetworkutils/ %{_libdir}/pkgconfig/*.pc %{_libdir}/lib*.so %changelog * Tue Jan 28 2020 Fedora Release Engineering - 5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 5.0.1-1 - Release 5.0.1 * Wed Jul 24 2019 Fedora Release Engineering - 0.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 mosquito - 0.0.9-1 - Update to 0.0.9 * Thu Jan 31 2019 Fedora Release Engineering - 0.0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Dec 12 2018 mosquito - 0.0.8.1-1 - Update to 0.0.8.1 * Fri Nov 9 2018 mosquito - 0.0.7-1 - Update to 0.0.7 * Thu Aug 2 2018 mosquito - 0.0.4-1 - Update to 0.0.4 * Mon Jul 23 2018 mosquito - 0.0.3-1 - Initial package build