3b47a9
Name:		libeasyfc
eb1292
Version:	0.13.0
a26efd
Release:	1%{?dist}
3b47a9
Summary:	Easy configuration generator interface for fontconfig
3b47a9
3b47a9
Group:		System Environment/Libraries
3b47a9
License:	LGPLv3+
0e7d7c
URL:		http://tagoh.bitbucket.org/libeasyfc/
0e7d7c
Source0:	https://bitbucket.org/tagoh/libeasyfc/downloads/%{name}-%{version}.tar.bz2
3b47a9
0b9396
BuildRequires:	glib2-devel gobject-introspection-devel libxml2-devel fontconfig-devel >= 2.10.92 harfbuzz-devel
3b47a9
BuildRequires:	gettext
cc6e2c
Requires:	fontconfig >= 2.10.92
3b47a9
3b47a9
%description
3b47a9
libeasyfc aims to provide an easy interface to generate
3b47a9
fontconfig configuration on demand.
3b47a9
3b47a9
%package	gobject
3b47a9
Summary:	GObject interface for libeasyfc
3b47a9
Group:		System Environment/Libraries
0e7d7c
Requires:	%{name}%{?_isa} = %{version}-%{release}
3b47a9
3b47a9
%description	gobject
3b47a9
libeasyfc aims to provide an easy interface to generate
3b47a9
fontconfig configuration on demand.
3b47a9
3b47a9
This package contains an interface for GObject.
3b47a9
3b47a9
%package	devel
3b47a9
Summary:	Development files for libeasyfc
3b47a9
Group:		Development/Libraries
0e7d7c
Requires:	%{name}%{?_isa} = %{version}-%{release}
3b47a9
Requires:	pkgconfig
3b47a9
Requires:	fontconfig-devel glib2-devel
3b47a9
3b47a9
%description	devel
3b47a9
libeasyfc aims to provide an easy interface to generate
3b47a9
fontconfig configuration on demand.
3b47a9
3b47a9
This package contains the development files to make any
3b47a9
applications with libeasyfc.
3b47a9
3b47a9
%package	gobject-devel
3b47a9
Summary:	Development files for libeasyfc-gobject
3b47a9
Group:		Development/Libraries
0e7d7c
Requires:	%{name}-gobject%{?_isa} = %{version}-%{release}
0e7d7c
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
3b47a9
Requires:	pkgconfig
3b47a9
Requires:	glib2-devel
3b47a9
3b47a9
%description	gobject-devel
3b47a9
libeasyfc aims to provide an easy interface to generate
3b47a9
fontconfig configuration on demand.
3b47a9
3b47a9
This package contains the development files to make any
3b47a9
applications with libeasyfc-gobject.
3b47a9
3b47a9
%prep
3b47a9
%setup -q
3b47a9
3b47a9
3b47a9
%build
3b47a9
%configure --disable-static
41e194
make %{?_smp_mflags} V=1
3b47a9
3b47a9
3b47a9
%install
0e7d7c
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"
3b47a9
3b47a9
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
3b47a9
3b47a9
%post	-p /sbin/ldconfig
3b47a9
%postun	-p /sbin/ldconfig
3b47a9
%post	gobject -p /sbin/ldconfig
3b47a9
%postun	gobject -p /sbin/ldconfig
3b47a9
3b47a9
3b47a9
%files
3b47a9
%doc README AUTHORS COPYING ChangeLog
3b47a9
%{_libdir}/libeasyfc.so.*
3b47a9
3b47a9
%files	gobject
3b47a9
%{_libdir}/libeasyfc-gobject.so.*
4604d1
%{_libdir}/girepository-*/Easyfc-*.typelib
3b47a9
3b47a9
%files	devel
3b47a9
%{_includedir}/libeasyfc
3b47a9
%exclude %{_includedir}/libeasyfc/ezfc-gobject.h
3b47a9
%{_libdir}/libeasyfc.so
3b47a9
%{_libdir}/pkgconfig/libeasyfc.pc
3b47a9
%{_datadir}/gtk-doc/html/libeasyfc
3b47a9
3b47a9
%files	gobject-devel
3b47a9
%{_includedir}/libeasyfc/ezfc-gobject.h
3b47a9
%{_libdir}/libeasyfc-gobject.so
3b47a9
%{_libdir}/pkgconfig/libeasyfc-gobject.pc
3b47a9
%{_datadir}/gir-*/Easyfc-*.gir
3b47a9
3b47a9
%changelog
eb1292
* Tue Jul 30 2013 Akira TAGOH <tagoh@redhat.com> - 0.13.0-1
eb1292
- New upstream release.
eb1292
cfb524
* Fri Mar 29 2013 Akira TAGOH <tagoh@redhat.com> - 0.12.1-1
cc6e2c
- New upstream release.
cc6e2c
a26efd
* Mon Feb 25 2013 Akira TAGOH <tagoh@redhat.com> - 0.11-1
a26efd
- New upstream release.
a26efd
9bf234
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
9bf234
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9bf234
0e7d7c
* Tue Dec 18 2012 Akira TAGOH <tagoh@redhat.com> - 0.10-1
0e7d7c
- New upstream release.
0e7d7c
92b983
* Mon Jul 23 2012 Akira TAGOH <tagoh@redhat.com> - 0.9-1
92b983
- New upstream release.
92b983
aa964b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
aa964b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa964b
d0442f
* Wed Jun 27 2012 Akira TAGOH <tagoh@redhat.com> - 0.8-1
d0442f
- New upstream release.
d0442f
ed79d8
* Tue Feb 28 2012 Akira TAGOH <tagoh@redhat.com> - 0.7-1
784007
- New upstream release.
784007
4604d1
* Wed Feb 08 2012 Akira TAGOH <tagoh@redhat.com> - 0.6-2
4604d1
- Move .typelib in the libeasyfc-gobject package (#788112)
4604d1
3b3aa7
* Mon Feb 06 2012 Akira TAGOH <tagoh@redhat.com> - 0.6-1
3b3aa7
- New upstream release.
3b3aa7
d480ed
* Tue Jan 24 2012 Akira TAGOH <tagoh@redhat.com> - 0.5-1
d480ed
- New upstream release.
d480ed
1247d5
* Wed Jan 18 2012 Akira TAGOH <tagoh@redhat.com> - 0.4-1
1247d5
- New upstream release.
1247d5
fe75c0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
fe75c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe75c0
d2387e
* Mon Dec 19 2011 Akira TAGOH <tagoh@redhat.com> - 0.3-1
d2387e
- New upstream release.
d2387e
3b47a9
* Fri Dec  9 2011 Akira TAGOH <tagoh@redhat.com> - 0.2-1
3b47a9
- New upstream release.
3b47a9
- Removes %%doc from subpackages as per the suggestions in the review.
3b47a9
3b47a9
* Wed Dec  7 2011 Akira TAGOH <tagoh@redhat.com> - 0.1-1
3b47a9
- Initial packaging.
3b47a9