#1 Add a static subpackage for shipping the static library
Closed 3 months ago by dm0. Opened 5 years ago by dm0.
Unknown source static  into  rawhide

file modified
+15 -3
@@ -3,7 +3,7 @@

  

  Name:           pixman

  Version:        0.34.0

- Release:        6%{?dist}

+ Release:        7%{?dist}

  Summary:        Pixel manipulation library

  

  Group:          System Environment/Libraries
@@ -30,6 +30,13 @@

  %description devel

  Development library for pixman.

  

+ %package static

+ Summary: Static library for %{name}

+ Requires: %{name}-devel%{_isa} = %{version}-%{release}

+ 

+ %description static

+ The %{name}-static subpackage contains a static %{name} library.

+ 

  %prep

  %setup -q

  
@@ -38,8 +45,7 @@

  %ifarch %{arm}

    --disable-arm-iwmmxt --disable-arm-iwmmxt2 \

  %endif

-   --disable-ssse3 \

-   --disable-static

+   --disable-ssse3

  

  make %{?_smp_mflags} V=1

  
@@ -65,7 +71,13 @@

  %{_libdir}/libpixman-1*.so

  %{_libdir}/pkgconfig/pixman-1.pc

  

+ %files static

+ %{_libdir}/libpixman-1*.a

+ 

  %changelog

+ * Wed Feb 21 2018 David Michael <fedora.dm0@gmail.com> - 0.34.0-7

+ - Add a static subpackage for shipping the static library.

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

Pull-Request has been closed by dm0

3 months ago