63 lines
1.8 KiB
RPMSpec
63 lines
1.8 KiB
RPMSpec
Name: libeasyfc
|
|
Version: 0.14.0
|
|
Release: 7
|
|
Summary: Easy to configure fontconfig generator interface
|
|
License: LGPLv3+
|
|
URL: http://tagoh.bitbucket.org/libeasyfc/
|
|
Source0: https://bitbucket.org/tagoh/libeasyfc/downloads/libeasyfc-%{version}.tar.bz2
|
|
Patch0000: libeasyfc-fix-config.patch
|
|
BuildRequires: glib2-devel gobject-introspection-devel libxml2-devel fontconfig-devel >= 2.12.93 harfbuzz-devel
|
|
BuildRequires: gettext
|
|
Requires: fontconfig >= 2.12.93
|
|
Provides: libeasyfc-gobject = %{version}-%{release}
|
|
Obsoletes: libeasyfc-gobject < %{version}-%{release}
|
|
|
|
%description
|
|
libeasyfc aims to provide an easy interface to generate
|
|
fontconfig configuration on demand and provides GObject
|
|
interface for libeasyfc.
|
|
|
|
%package devel
|
|
Summary: Development files for libeasyfc and libeasyfc gobject
|
|
Requires: libeasyfc = %{version}-%{release} pkgconfig fontconfig-devel glib2-devel
|
|
Provides: libeasyfc-gobject-devel = %{version}-%{release}
|
|
Obsoletes: libeasyfc-gobject-devel < %{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains the development files to make any
|
|
applications with libeasyfc and applications with libeasyfc-gobject.
|
|
|
|
%prep
|
|
%autosetup -n libeasyfc-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%delete_la
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%doc COPYING README AUTHORS ChangeLog
|
|
%{_libdir}/{libeasyfc.so.*,libeasyfc-gobject.so.*}
|
|
%{_libdir}/girepository-*/Easyfc-*.typelib
|
|
|
|
%files devel
|
|
%{_includedir}/libeasyfc
|
|
%{_libdir}/{libeasyfc.so,libeasyfc-gobject.so}
|
|
%{_libdir}/pkgconfig/{libeasyfc.pc,libeasyfc-gobject.pc}
|
|
%{_datadir}/gir-*/Easyfc-*.gir
|
|
%{_datadir}/gtk-doc/html/libeasyfc
|
|
|
|
%changelog
|
|
* Tue Apr 14 2020 huanghaitao <huanghaitao@huawei.com> - 0.14.0-7
|
|
- Package init
|