forked from pool/libmng
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>
|
||||
|
||||
|
18
libmng.spec
18
libmng.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -31,9 +31,9 @@ BuildRequires: cmake
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: liblcms2-devel
|
||||
BuildRequires: man
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{?suse_build_hwcaps_libs}
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%autosetup -p0
|
||||
|
||||
%build
|
||||
# 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} \
|
||||
-DBUILD_MAN=ON \
|
||||
-DBUILD_STATIC_LIBS=OFF ..
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README doc/doc.readme doc/libmng.txt
|
||||
%license LICENSE
|
||||
%doc README doc/doc.readme doc/libmng.txt
|
||||
%{_libdir}/libmng.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_mandir}/*/*
|
||||
%doc %{_docdir}/libmng/
|
||||
|
Loading…
Reference in New Issue
Block a user