Accepting request 1070293 from graphics
OBS-URL: https://build.opensuse.org/request/show/1070293 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmng?expand=0&rev=26
This commit is contained in:
commit
5a3a0f4e6c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 8 14:02:45 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Build AVX2 enabled hwcaps library for x86_64-v3
|
||||||
|
- Modernise spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 4 09:08:56 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
Wed May 4 09:08:56 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
18
libmng.spec
18
libmng.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmng
|
# spec file for package libmng
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,9 +31,9 @@ BuildRequires: cmake
|
|||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblcms2-devel
|
BuildRequires: liblcms2-devel
|
||||||
BuildRequires: man
|
BuildRequires: man
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%{?suse_build_hwcaps_libs}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library can handle MNG and JNG formats that contain animated
|
This library can handle MNG and JNG formats that contain animated
|
||||||
@ -62,8 +62,7 @@ pictures. These formats should replace the GIF format.
|
|||||||
This package contains the static library and the header files.
|
This package contains the static library and the header files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p0
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This is not zlib licensed and unused, just as a caution, bnc#744320
|
# This is not zlib licensed and unused, just as a caution, bnc#744320
|
||||||
@ -74,23 +73,20 @@ rm -rf contrib
|
|||||||
-DMNG_INSTALL_DOC_DIR=%{_docdir}/%{name} \
|
-DMNG_INSTALL_DOC_DIR=%{_docdir}/%{name} \
|
||||||
-DBUILD_MAN=ON \
|
-DBUILD_MAN=ON \
|
||||||
-DBUILD_STATIC_LIBS=OFF ..
|
-DBUILD_STATIC_LIBS=OFF ..
|
||||||
|
%cmake_build
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE README doc/doc.readme doc/libmng.txt
|
%doc README doc/doc.readme doc/libmng.txt
|
||||||
%{_libdir}/libmng.so.*
|
%{_libdir}/libmng.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%doc %{_docdir}/libmng/
|
%doc %{_docdir}/libmng/
|
||||||
|
Loading…
Reference in New Issue
Block a user