add /usr/includefreetype symlink for legacy compatibility [release 2.5.3-2mamba;Tue Jul 08 2014]
This commit is contained in:
parent
c59ebcab32
commit
ba5dfad2d0
@ -2,7 +2,7 @@
|
||||
%define enable_subpixel_rendering 1
|
||||
Name: libfreetype
|
||||
Version: 2.5.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Free TrueType font rasterizer library
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
@ -17,12 +17,12 @@ BuildRequires: libbzip2-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%ifarch x86_64
|
||||
BuildRequires: gcc-multilib
|
||||
BuildRequires: glibc-multilib-devel
|
||||
BuildRequires: lib32-libz-devel
|
||||
BuildRequires: lib32-libpng-devel
|
||||
%endif
|
||||
#%ifarch x86_64
|
||||
#BuildRequires: gcc-multilib
|
||||
#BuildRequires: glibc-multilib-devel
|
||||
#BuildRequires: lib32-libz-devel
|
||||
#BuildRequires: lib32-libpng-devel
|
||||
#%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -94,6 +94,8 @@ install -d -m0755 %{buildroot}%{_prefix}/lib
|
||||
cp -a objs/.libs/libfreetype.so* %{buildroot}%{_prefix}/lib/
|
||||
%endif
|
||||
|
||||
ln -s freetype2 %{buildroot}%{_includedir}/freetype
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -109,6 +111,7 @@ cp -a objs/.libs/libfreetype.so* %{buildroot}%{_prefix}/lib/
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/freetype-config
|
||||
#%{_includedir}/ft2build.h
|
||||
%{_includedir}/freetype
|
||||
%dir %{_includedir}/freetype2
|
||||
%{_includedir}/freetype2/*
|
||||
%{_libdir}/libfreetype.so
|
||||
@ -131,6 +134,9 @@ cp -a objs/.libs/libfreetype.so* %{buildroot}%{_prefix}/lib/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jul 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.3-2mamba
|
||||
- add /usr/includefreetype symlink for legacy compatibility
|
||||
|
||||
* Sat Mar 08 2014 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user