57 lines
1.4 KiB
RPMSpec
57 lines
1.4 KiB
RPMSpec
%bcond_with check
|
|
%global debug_package %{nil}
|
|
%global _unpackaged_files_terminate_build 0
|
|
|
|
Name: blur-effect
|
|
Version: 1.1.3
|
|
Release: 8
|
|
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/
|
|
Source0: https://uos-packages.deepin.com/uos/pool/main/b/blur-effect/%{name}-%{version}.orig.tar.xz
|
|
|
|
BuildRequires: cmake gcc-c++
|
|
BuildRequires: glew-devel mesa-libgbm-devel gdk-pixbuf2-devel libglvnd-devel mesa-libEGL-devel libdrm-devel
|
|
%description
|
|
|
|
%prep
|
|
%setup
|
|
|
|
# fix strip
|
|
sed -i 's|no-error"|no-error -s -pie -fPIE"|' CMakeLists.txt
|
|
|
|
%build
|
|
cmake .
|
|
make
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
/usr/local/bin/blur_image
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
|
|
%changelog
|
|
* Tue Mar 28 2023 liweiganga <liweiganga@uniontech.com> - 1.1.3-8
|
|
- feat: fix pie
|
|
|
|
* 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
|
|
- fix build error
|
|
|
|
* Wed Oct 28 2020 weidong <weidong@uniontech.com> - 1.1.3-5
|
|
- update buildrequires
|
|
* Wed Sep 2 2020 weidong <weidong@uniontech.com> - 1.1.3-4
|
|
- fix spec
|
|
* Mon Aug 10 2020 chenbo pan <panchenbo@uniontech.com> - 1.1.3-3
|
|
- fix compile fail
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.3-2
|
|
- fix spec
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.3-1
|
|
- Package init
|