3b47a93
Name:		libeasyfc
d0442f5
Version:	0.8
aa964b8
Release:	2%{?dist}
3b47a93
Summary:	Easy configuration generator interface for fontconfig
3b47a93
3b47a93
Group:		System Environment/Libraries
3b47a93
License:	LGPLv3+
3b47a93
URL:		http://github.com/tagoh/libeasyfc
3b47a93
Source0:	https://github.com/downloads/tagoh/libeasyfc/libeasyfc-%{version}.tar.bz2
3b47a93
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
3b47a93
d0442f5
BuildRequires:	glib2-devel gobject-introspection-devel libxml2-devel fontconfig-devel >= 2.9.91
3b47a93
BuildRequires:	gettext
d0442f5
Requires:	fontconfig >= 2.9.91
3b47a93
3b47a93
%description
3b47a93
libeasyfc aims to provide an easy interface to generate
3b47a93
fontconfig configuration on demand.
3b47a93
3b47a93
%package	gobject
3b47a93
Summary:	GObject interface for libeasyfc
3b47a93
Group:		System Environment/Libraries
3b47a93
Requires:	%{name} = %{version}-%{release}
3b47a93
3b47a93
%description	gobject
3b47a93
libeasyfc aims to provide an easy interface to generate
3b47a93
fontconfig configuration on demand.
3b47a93
3b47a93
This package contains an interface for GObject.
3b47a93
3b47a93
%package	devel
3b47a93
Summary:	Development files for libeasyfc
3b47a93
Group:		Development/Libraries
3b47a93
Requires:	%{name} = %{version}-%{release}
3b47a93
Requires:	pkgconfig
3b47a93
Requires:	fontconfig-devel glib2-devel
3b47a93
3b47a93
%description	devel
3b47a93
libeasyfc aims to provide an easy interface to generate
3b47a93
fontconfig configuration on demand.
3b47a93
3b47a93
This package contains the development files to make any
3b47a93
applications with libeasyfc.
3b47a93
3b47a93
%package	gobject-devel
3b47a93
Summary:	Development files for libeasyfc-gobject
3b47a93
Group:		Development/Libraries
3b47a93
Requires:	%{name}-gobject = %{version}-%{release}
3b47a93
Requires:	%{name}-devel = %{version}-%{release}
3b47a93
Requires:	pkgconfig
3b47a93
Requires:	glib2-devel
3b47a93
3b47a93
%description	gobject-devel
3b47a93
libeasyfc aims to provide an easy interface to generate
3b47a93
fontconfig configuration on demand.
3b47a93
3b47a93
This package contains the development files to make any
3b47a93
applications with libeasyfc-gobject.
3b47a93
3b47a93
%prep
3b47a93
%setup -q
3b47a93
3b47a93
3b47a93
%build
3b47a93
%configure --disable-static
3b47a93
make %{?_smp_mflags}
3b47a93
3b47a93
3b47a93
%install
3b47a93
rm -rf $RPM_BUILD_ROOT
3b47a93
make install DESTDIR=$RPM_BUILD_ROOT
3b47a93
3b47a93
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
3b47a93
3b47a93
%clean
3b47a93
rm -rf $RPM_BUILD_ROOT
3b47a93
3b47a93
3b47a93
%post	-p /sbin/ldconfig
3b47a93
%postun	-p /sbin/ldconfig
3b47a93
%post	gobject -p /sbin/ldconfig
3b47a93
%postun	gobject -p /sbin/ldconfig
3b47a93
3b47a93
3b47a93
%files
3b47a93
%defattr(-,root,root,-)
3b47a93
%doc README AUTHORS COPYING ChangeLog
3b47a93
%{_libdir}/libeasyfc.so.*
3b47a93
3b47a93
%files	gobject
3b47a93
%defattr(-, root, root, -)
3b47a93
%{_libdir}/libeasyfc-gobject.so.*
4604d11
%{_libdir}/girepository-*/Easyfc-*.typelib
3b47a93
3b47a93
%files	devel
3b47a93
%defattr(-, root, root, -)
3b47a93
%{_includedir}/libeasyfc
3b47a93
%exclude %{_includedir}/libeasyfc/ezfc-gobject.h
3b47a93
%{_libdir}/libeasyfc.so
3b47a93
%{_libdir}/pkgconfig/libeasyfc.pc
3b47a93
%{_datadir}/gtk-doc/html/libeasyfc
3b47a93
3b47a93
%files	gobject-devel
3b47a93
%defattr(-, root, root, -)
3b47a93
%{_includedir}/libeasyfc/ezfc-gobject.h
3b47a93
%{_libdir}/libeasyfc-gobject.so
3b47a93
%{_libdir}/pkgconfig/libeasyfc-gobject.pc
3b47a93
%{_datadir}/gir-*/Easyfc-*.gir
3b47a93
3b47a93
%changelog
aa964b8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
aa964b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa964b8
d0442f5
* Wed Jun 27 2012 Akira TAGOH <tagoh@redhat.com> - 0.8-1
d0442f5
- New upstream release.
d0442f5
ed79d80
* Tue Feb 28 2012 Akira TAGOH <tagoh@redhat.com> - 0.7-1
784007c
- New upstream release.
784007c
4604d11
* Wed Feb 08 2012 Akira TAGOH <tagoh@redhat.com> - 0.6-2
4604d11
- Move .typelib in the libeasyfc-gobject package (#788112)
4604d11
3b3aa74
* Mon Feb 06 2012 Akira TAGOH <tagoh@redhat.com> - 0.6-1
3b3aa74
- New upstream release.
3b3aa74
d480ed6
* Tue Jan 24 2012 Akira TAGOH <tagoh@redhat.com> - 0.5-1
d480ed6
- New upstream release.
d480ed6
1247d5c
* Wed Jan 18 2012 Akira TAGOH <tagoh@redhat.com> - 0.4-1
1247d5c
- New upstream release.
1247d5c
fe75c09
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
fe75c09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe75c09
d2387e5
* Mon Dec 19 2011 Akira TAGOH <tagoh@redhat.com> - 0.3-1
d2387e5
- New upstream release.
d2387e5
3b47a93
* Fri Dec  9 2011 Akira TAGOH <tagoh@redhat.com> - 0.2-1
3b47a93
- New upstream release.
3b47a93
- Removes %%doc from subpackages as per the suggestions in the review.
3b47a93
3b47a93
* Wed Dec  7 2011 Akira TAGOH <tagoh@redhat.com> - 0.1-1
3b47a93
- Initial packaging.
3b47a93