Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042537
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libeasyfc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/gtkdocize pkgconfig(freetype2)
# END SourceDeps(oneline)
Group: System/Libraries
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libeasyfc
Version: 0.14.0
Release: alt1_13
Summary: Easy configuration generator interface for fontconfig

License: LGPL-3.0-or-later
URL: http://tagoh.bitbucket.org/libeasyfc/
Source0: https://bitbucket.org/tagoh/libeasyfc/downloads/%{name}-%{version}.tar.bz2
Patch0: %{name}-freetype.patch
Patch1: %{name}-fix-config.patch

BuildRequires: glib2-devel libgio libgio-devel gobject-introspection-devel libxml2-devel fontconfig-devel >= 2.12.93 libharfbuzz-devel libharfbuzz-gir-devel libharfbuzz-utils
BuildRequires: gettext gettext-tools
Requires: fontconfig >= 2.12.93
Source44: import.info

%description
libeasyfc aims to provide an easy interface to generate
fontconfig configuration on demand.

%package gobject
Group: System/Libraries
Summary: GObject interface for libeasyfc
Requires: %{name} = %{version}-%{release}

%description gobject
libeasyfc aims to provide an easy interface to generate
fontconfig configuration on demand.

This package contains an interface for GObject.

%package devel
Group: Development/Other
Summary: Development files for libeasyfc
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: libgio

%description devel
libeasyfc aims to provide an easy interface to generate
fontconfig configuration on demand.

This package contains the development files to make any
applications with libeasyfc.

%package gobject-devel
Group: Development/Other
Summary: Development files for libeasyfc-gobject
Requires: %{name}-gobject = %{version}-%{release}
Requires: pkgconfig
Requires: libgio

%description gobject-devel
libeasyfc aims to provide an easy interface to generate
fontconfig configuration on demand.

This package contains the development files to make any
applications with libeasyfc-gobject.

%prep
%setup -q
%patch0 -p1
%patch1 -p1



%build
%configure --disable-static
%make_build V=1


%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"

rm -f $RPM_BUILD_ROOT%{_libdir}/*.la




%files
%doc README AUTHORS ChangeLog
%doc --no-dereference COPYING
%{_libdir}/libeasyfc.so.*

%files gobject
%{_libdir}/libeasyfc-gobject.so.*
%{_libdir}/girepository-*/Easyfc-*.typelib

%files devel
%{_includedir}/libeasyfc
%exclude %{_includedir}/libeasyfc/ezfc-gobject.h
%{_libdir}/libeasyfc.so
%{_libdir}/pkgconfig/libeasyfc.pc
%{_datadir}/gtk-doc/html/libeasyfc

%files gobject-devel
%{_includedir}/libeasyfc/ezfc-gobject.h
%{_libdir}/libeasyfc-gobject.so
%{_libdir}/pkgconfig/libeasyfc-gobject.pc
%{_datadir}/gir-*/Easyfc-*.gir

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin