1 Star 0 Fork 1

xingwei-liu/deepin-anything

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-anything.spec 3.32 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-22 11:17 . rebuild for an8.6
%bcond_with check
%global _unpackaged_files_terminate_build 0
%global debug_package %{nil}
%global common_description %{expand: Something like everything, but nothing is really like anything...}
%global dname dkms
%global lname libs
%global sname server
Name: deepin-anything
Version: 5.0.12
Release: 2%{?dist}
Summary: Something like everything, but nothing is really like anything...
License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-anything/
Source0: %{name}-%{version}.tar.gz
BuildRequires: qt5-qtbase-devel
BuildRequires: dtkcore-devel
BuildRequires: udisks2-qt5
BuildRequires: udisks2-qt5-devel
BuildRequires: libmount
BuildRequires: libmount-devel
%description
%{common_description}
%package -n %{name}-%{dname}
Summary: %{summary}
%description -n %{name}-%{dname}
%package -n %{name}-%{lname}
Summary: %{summary}
%description -n %{name}-%{lname}
%package -n %{name}-%{sname}
Summary: %{summary}
%description -n %{name}-%{sname}
%package -n %{name}-devel
Summary: Development package for %name
%description devel
This package provides header files and libraries for %name.
%prep
%setup
%ifnarch i686
sed -i 's|lib/|lib64/|g' Makefile
%endif
%build
export PATH=$PATH:%{_libdir}/qt5/bin
%{__make}
%install
%make_install
mkdir -p %{?buildroot}/usr/lib/modules-load.d/
mkdir -p %{buildroot}/usr/lib/systemd/system/
#mv %{?buildroot}%{_libdir}/modules-load.d/anything.conf %{?buildroot}/usr/lib/modules-load.d/
install -Dm644 server/tool/deepin-anything-tool.service %{buildroot}/usr/lib/systemd/system/
install -Dm644 server/monitor/deepin-anything-monitor.service %{buildroot}/usr/lib/systemd/system/
%files -n %{name}-%{dname}
%exclude /usr/lib64/modules-load.d/anything.conf
%exclude /lib/systemd/system/deepin-anything-monitor.service
%exclude /lib/systemd/system/deepin-anything-tool.service
%exclude /usr/lib/sysusers.d/deepin-anything-monitor.conf
%{_usrsrc}/deepin-anything-0.0/*
%files -n %{name}-%{lname}
%{_libdir}/libanything.so.*
%files -n %{name}-%{sname}
%{_bindir}/deepin-anything-monitor
%{_bindir}/deepin-anything-tool
%{_bindir}/deepin-anything-tool-ionice
%{_libdir}/libdeepin-anything-server-lib.so.*
%{_libdir}/deepin-anything-server-lib/plugins/handlers/README.txt
%{_libdir}/deepin-anything-server-lib/plugins/handlers/libupdate-lft.so
%{_datadir}/dbus-1/interfaces/com.deepin.anything.xml
%{_datadir}/dbus-1/system-services/com.deepin.anything.service
%{_sysconfdir}/dbus-1/system.d/com.deepin.anything.conf
/usr/lib/systemd/system/deepin-anything-monitor.service
/usr/lib/systemd/system/deepin-anything-tool.service
%files devel
%{_libdir}/libanything.so
%{_libdir}/libdeepin-anything-server-lib.so
%dir %{_includedir}/%{name}*/
%dir %{_includedir}/%name/index/
%{_includedir}/%{name}*/*.h
%{_includedir}/%name/index/*.h
%{_libdir}/pkgconfig/deepin-anything-server-lib.pc
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 5.0.12-2
- rebuild for an8.6
* Thu Oct 21 2021 Zhang taikun <zhangtaikun@uniontech.com> - 5.0.12-1
- Update to 5.0.12
* Wed Apr 14 2021 uoser <uoser@uniontech.com> - 5.0.8-2.01
- modify for i686
* Wed Apr 14 2021 uoser <uoser@uniontech.com> - 5.0.8-2
- update to 5.0.8
* Wed Mar 17 2021 uoser <uoser@uniontech.com> - 5.0.1-2
- add devel
* Wed Feb 07 2018 TagBuilder <tagbuilder@linuxdeepin.com> - 5.0.1-1
- Project init.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/deepin-anything.git
git@gitee.com:xingwei-liu/deepin-anything.git
xingwei-liu
deepin-anything
deepin-anything
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385