libspiro/libspiro.spec

54 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: libspiro
2021-08-30 07:22:52 +00:00
Version: 20200505
Release: 1
Summary: Library to simplify the drawing of beautiful curves
License: GPLv3+
URL: https://github.com/fontforge/libspiro/
2021-08-30 07:22:52 +00:00
Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-dist-%{version}.tar.gz
BuildRequires: gcc make
%description
2021-08-30 07:22:52 +00:00
This library will take an array of spiro control points and
convert them into a series of bézier splines which can then
be used in the myriad of ways the world has come to use béziers.
%package devel
2021-08-30 07:22:52 +00:00
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
2021-08-30 07:22:52 +00:00
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
2021-08-30 07:22:52 +00:00
%autosetup -n libspiro-%{version}
%build
%configure --disable-static
2021-08-30 07:22:52 +00:00
%{make_build}
%install
2021-08-30 07:22:52 +00:00
%{make_install}
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%check
make check
%files
%doc README* ChangeLog AUTHORS
2021-08-30 07:22:52 +00:00
%license COPYING
%{_libdir}/*.so.*
2021-08-30 07:22:52 +00:00
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libspiro.pc
2021-08-30 07:22:52 +00:00
%{_mandir}/man3/libspiro.3.gz
%changelog
2021-08-30 07:22:52 +00:00
* Tue Aug 24 2021 chenchen <chen_aka_jan@163.com> - 20200505-1
- update to 20200505
* Fri Dec 13 2019 lihao <lihao129@huawei.com> - 20150131-10
- Package Init