graphite2/graphite2.spec

94 lines
2.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:51:40 -04:00
Name: graphite2
2020-07-27 10:36:55 +08:00
Version: 1.3.14
Release: 3
2019-09-30 10:51:40 -04:00
Summary: Graphite provides cross-platform rendering for complex writing systems
License: (LGPLv2+ or GPLv2+ or MPL) and (Netscape or GPLv2+ or LGPLv2+)
URL: https://sourceforge.net/projects/silgraphite/
Source0: https://github.com/silnrsi/graphite/archive/%{version}.tar.gz
2019-09-30 10:51:40 -04:00
BuildRequires: gcc gcc-c++ cmake freetype-devel doxygen asciidoc python3-unversioned-command gdb
2020-03-20 15:17:32 +08:00
BuildRequires: texlive-helvetic texlive-sectsty texlive-tocloft texlive-xtab texlive-multirow python3-fonttools
2019-09-30 10:51:40 -04:00
Obsoletes: silgraphite < 2.3.1-5
%description
Graphite is a system that can be used to create “smart fonts” capable of displaying writing systems with various complex behaviors. A smart font contains not only letter shapes but also additional instructions indicating how to combine and position the letters in complex ways.
%package devel
Summary: Development headers and libraries for graphite2
Requires: %{name} = %{version}-%{release}
Obsoletes: silgraphite-devel < 2.3.1-5
%description devel
Header files for using the graphite2 libraries.
%prep
2020-09-10 17:53:10 +08:00
%autosetup -n graphite-%{version} -p1
2019-09-30 10:51:40 -04:00
%build
%cmake -DGRAPHITE2_COMPARE_RENDERER=OFF .
2020-07-27 10:36:55 +08:00
%make_build
make docs
2019-09-30 10:51:40 -04:00
%install
%make_install INSTALL="install -p"
%check
ctest
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE COPYING
%doc ChangeLog README.md
%{_bindir}/gr2fonttest
%{_libdir}/libgraphite2.so.3
2020-01-10 09:28:17 +08:00
%{_libdir}/libgraphite2.so.3.2.1
2019-09-30 10:51:40 -04:00
%exclude %{_libdir}/*.la
%files devel
%doc doc/manual.html
%{_includedir}/graphite2
%{_libdir}/libgraphite2.so
%{_libdir}/pkgconfig/graphite2.pc
2020-07-27 10:36:55 +08:00
%{_datadir}/graphite2/graphite2-release.cmake
%{_datadir}/graphite2/graphite2.cmake
2019-09-30 10:51:40 -04:00
%changelog
* Wed Oct 21 2020 jinzhimin<jinzhimin2@huawei.com> - 1.3.14-3
- modify BuildRequires to python3-unversioned-command
* Tue Sep 10 2020 chengguipeng<chengguipeng1@huawei.com> - 1.3.14-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source0 url
2020-07-27 10:36:55 +08:00
* Thu Jul 23 2020 hanhui <hanhui15@huawei.com> - 1.3.14-1
- update to 1.3.14
2020-03-20 15:17:32 +08:00
* Fri Mar 20 2020 songnannan <songnannan2@huawei.com> - 1.3.13-2
- add gdb in buildrequires
2020-01-10 09:28:17 +08:00
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.13.1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: delete patches
* Tue Sep 17 2019 hufeng <solar.hu@huawei.com> - 1.3.10.7
2019-09-30 10:51:40 -04:00
-Create graphite2 spec