2020-07-13 18:34:48 +08:00
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%global _unpackaged_files_terminate_build 0
|
|
|
|
|
|
|
|
|
|
Name: blur-effect
|
|
|
|
|
Version: 1.1.3
|
2023-03-28 01:36:20 +00:00
|
|
|
Release: 8
|
2020-07-13 18:34:48 +08:00
|
|
|
Summary: A library for using 3D graphics hardware to draw pretty pictures
|
|
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
|
URL: https://uos-packages.deepin.com/uos/pool/main/b/blur-effect/
|
2020-09-02 16:25:56 +08:00
|
|
|
Source0: https://uos-packages.deepin.com/uos/pool/main/b/blur-effect/%{name}-%{version}.orig.tar.xz
|
2020-07-13 18:34:48 +08:00
|
|
|
|
2022-02-16 10:09:13 +08:00
|
|
|
BuildRequires: cmake gcc-c++
|
2020-10-28 14:20:49 +08:00
|
|
|
BuildRequires: glew-devel mesa-libgbm-devel gdk-pixbuf2-devel libglvnd-devel mesa-libEGL-devel libdrm-devel
|
2020-07-13 18:34:48 +08:00
|
|
|
%description
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup
|
|
|
|
|
|
2023-03-17 10:09:06 +08:00
|
|
|
# fix strip
|
2023-03-28 01:36:20 +00:00
|
|
|
sed -i 's|no-error"|no-error -s -pie -fPIE"|' CMakeLists.txt
|
2023-03-17 10:09:06 +08:00
|
|
|
|
2020-07-13 18:34:48 +08:00
|
|
|
%build
|
|
|
|
|
cmake .
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
/usr/local/bin/blur_image
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-03-28 01:36:20 +00:00
|
|
|
* Tue Mar 28 2023 liweiganga <liweiganga@uniontech.com> - 1.1.3-8
|
|
|
|
|
- feat: fix pie
|
|
|
|
|
|
2023-03-17 10:09:06 +08:00
|
|
|
* Fri Mar 17 2023 liweiganga <liweiganga@uniontech.com> - 1.1.3-7
|
|
|
|
|
- feat: fix strip
|
|
|
|
|
|
|
|
|
|
* Wed Feb 16 2022 liweigang <liweiganga@uniontech.com> - 1.1.3-6
|
2022-02-16 10:09:13 +08:00
|
|
|
- fix build error
|
|
|
|
|
|
2020-10-28 14:20:49 +08:00
|
|
|
* Wed Oct 28 2020 weidong <weidong@uniontech.com> - 1.1.3-5
|
|
|
|
|
- update buildrequires
|
2020-09-02 16:25:56 +08:00
|
|
|
* Wed Sep 2 2020 weidong <weidong@uniontech.com> - 1.1.3-4
|
|
|
|
|
- fix spec
|
2020-08-10 16:37:08 +08:00
|
|
|
* Mon Aug 10 2020 chenbo pan <panchenbo@uniontech.com> - 1.1.3-3
|
|
|
|
|
- fix compile fail
|
2020-07-30 15:15:44 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.3-2
|
|
|
|
|
- fix spec
|
2020-07-30 14:31:16 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.3-1
|
|
|
|
|
- Package init
|