|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
#https://fedoraproject.org/wiki/Changes/Harden_All_Packages#Troubleshooting_steps_for_package_maintainers
|
|
|
|
|
%undefine _hardened_build
|
|
|
|
|
|
|
|
|
|
Name: libgdiplus
|
|
|
|
|
Version: 3.12
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: An Open Source implementation of the GDI+ API
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -28,15 +31,21 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Development files for libgdiplus
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1 -b .format
|
|
|
|
|
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
|
|
|
|
|
|
|
|
export CFLAGS
|
|
|
|
|
export CXXFLAGS
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
|
|
%make_install
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
@ -54,6 +63,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 26 2015 Claudio Rodrigo Pereyra Diaz <elsupergomez@fedoraproject.org> - 3.12-2
|
|
|
|
|
- Disable hardened_build that cause not build git, tiff and jpg support
|
|
|
|
|
|
|
|
|
|
* Tue Apr 14 2015 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 3.12-1
|
|
|
|
|
- updated to 3.12
|
|
|
|
|
- Use %%license
|
|
|
|
|