Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e9dd80da13
!21 modify version info
From: @hanshuang123456 
Reviewed-by: @ut-layne-yang 
Signed-off-by: @ut-layne-yang
2023-11-17 09:45:11 +00:00
hanshuang
e464a51380 modify version info 2023-11-17 15:16:51 +08:00
openeuler-ci-bot
9329c0e224
!20 update package
From: @hanshuang123456 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-10-25 05:49:19 +00:00
hanshuang
094497d9f6 update deepin-anything package 2023-10-20 18:28:46 +08:00
openeuler-ci-bot
8f34d577fa !7 由于openEuler kernel不支持,临时删除该服务deepin-anything-monitor.service
From: @weidongkl
Reviewed-by: @yeqinglong01
Signed-off-by: @yeqinglong01
2021-06-08 16:07:33 +08:00
wei dong
c65501d163 delete deepin-anything-monitor.service 2021-06-08 15:38:19 +08:00
openeuler-ci-bot
620ee802bf !2 add yaml and fix spec
Merge pull request !2 from panchenbo/master
2020-07-30 17:12:00 +08:00
panchenbo
838634fb6f add yaml and fix spec 2020-07-30 15:50:55 +08:00
openeuler-ci-bot
19cd4d64dd !1 package init
Merge pull request !1 from panchenbo/master
2020-07-15 09:44:49 +08:00
panchenbo
4d9fdcbdea package init 2020-07-14 09:54:15 +08:00
3 changed files with 107 additions and 0 deletions

Binary file not shown.

103
deepin-anything.spec Normal file
View File

@ -0,0 +1,103 @@
%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.15
Release: 2
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
* Fri Nov 17 2023 hanshuang <hanshuang@uniontech.com> - 5.0.15-2
- modify version info
* Fri Jun 10 2022 uoser <uoser@uniontech.com> - 5.0.15-1.01
- update to 5.0.15

4
deepin-anything.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: linuxdeepin/deepin-anything
tag_prefix: ^v
seperator: .