Accepting request 581252 from home:13ilya:branches:M17N
- Refresh spec-file via spec-cleaner. - Add shell script freetype2.sh in separate package freetype2-profile-tti35 for set TrurType interpreter version 35. OBS-URL: https://build.opensuse.org/request/show/581252 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=138
This commit is contained in:
parent
1c027a7961
commit
c0a0132a58
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 20:58:36 UTC 2018 - ilya@ilya.pp.ua
|
||||||
|
|
||||||
|
- Refresh spec-file via spec-cleaner.
|
||||||
|
- Add shell script freetype2.sh in separate package
|
||||||
|
freetype2-profile-tti35 for set TrurType interpreter version 35.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 9 11:11:36 UTC 2018 - fstrba@suse.com
|
Fri Feb 9 11:11:36 UTC 2018 - fstrba@suse.com
|
||||||
|
|
||||||
|
1
freetype2.sh
Normal file
1
freetype2.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
|
@ -12,21 +12,20 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
%define doc_version 2.9
|
%define doc_version 2.9
|
||||||
Name: freetype2
|
Name: freetype2
|
||||||
Version: 2.9
|
Version: 2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A TrueType Font Library
|
Summary: A TrueType Font Library
|
||||||
License: SUSE-Freetype or GPL-2.0+
|
License: SUSE-Freetype OR GPL-2.0-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://www.freetype.org
|
URL: https://www.freetype.org
|
||||||
Source0: https://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
|
Source0: https://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
|
||||||
Source1: https://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2
|
Source1: https://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2
|
||||||
|
Source2: %{name}.sh
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch0: bugzilla-308961-cmex-workaround.patch
|
Patch0: bugzilla-308961-cmex-workaround.patch
|
||||||
# PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc
|
# PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc
|
||||||
@ -39,9 +38,8 @@ Patch5: enable-long-family-names-by-default.patch
|
|||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: freetype2-64bit
|
Obsoletes: freetype2-64bit
|
||||||
@ -61,6 +59,16 @@ Provides: freetype2 = %{version}
|
|||||||
This library features TrueType fonts for open source projects. This
|
This library features TrueType fonts for open source projects. This
|
||||||
version also contains an autohinter for producing improved output.
|
version also contains an autohinter for producing improved output.
|
||||||
|
|
||||||
|
%package profile-tti35
|
||||||
|
Summary: Set TrueType interpreter to version 35
|
||||||
|
Group: System/Shells
|
||||||
|
Requires: bash
|
||||||
|
Requires: freetype2
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description profile-tti35
|
||||||
|
System environment for set TrueType interpreter to version 35.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development environment for the freetype2 TrueType font library
|
Summary: Development environment for the freetype2 TrueType font library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -102,23 +110,24 @@ export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
|
install -Dm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
|
||||||
|
|
||||||
# remove documentation that does not belong in an rpm
|
# remove documentation that does not belong in an rpm
|
||||||
rm docs/INSTALL*
|
rm docs/INSTALL*
|
||||||
|
|
||||||
%post -n libfreetype6 -p /sbin/ldconfig
|
%post -n libfreetype6 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libfreetype6 -p /sbin/ldconfig
|
%postun -n libfreetype6 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libfreetype6
|
%files -n libfreetype6
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libfreetype.so.*
|
%{_libdir}/libfreetype.so.*
|
||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
%doc docs/{CHANGES,CUSTOMIZE,DEBUG,MAKEPP,PROBLEMS,TODO,*.txt}
|
%doc docs/{CHANGES,CUSTOMIZE,DEBUG,MAKEPP,PROBLEMS,TODO,*.txt}
|
||||||
|
|
||||||
|
%files profile-tti35
|
||||||
|
%config %{_sysconfdir}/profile.d/%{name}.sh
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc docs/reference/*
|
%doc docs/reference/*
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?suse_version} >= 1140
|
||||||
|
Loading…
Reference in New Issue
Block a user