commit 1e262b70134a9a42083152c466bba0827a0fac90 Author: CentOS Sources Date: Tue May 7 07:18:58 2019 -0400 import libeasyfc-0.14.0-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b019623 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libeasyfc-0.14.0.tar.bz2 diff --git a/.libeasyfc.metadata b/.libeasyfc.metadata new file mode 100644 index 0000000..d8543ab --- /dev/null +++ b/.libeasyfc.metadata @@ -0,0 +1 @@ +d8d88ac6e0755a08690c7e95ce3888e528ed963e SOURCES/libeasyfc-0.14.0.tar.bz2 diff --git a/SOURCES/libeasyfc-freetype.patch b/SOURCES/libeasyfc-freetype.patch new file mode 100644 index 0000000..be3ac8e --- /dev/null +++ b/SOURCES/libeasyfc-freetype.patch @@ -0,0 +1,10 @@ +diff -pruN libeasyfc-0.14.0.orig/requires libeasyfc-0.14.0/requires +--- libeasyfc-0.14.0.orig/requires 2018-02-16 11:43:47.000000000 +0900 ++++ libeasyfc-0.14.0/requires 2018-02-16 12:31:51.799419199 +0900 +@@ -1,5 +1,5 @@ + FONTCONFIG_REQUIRED=2.12.93 +-FREETYPE_REQUIRED=21.0.15 ++FREETYPE_REQUIRED=20.0.14 + GLIB_REQUIRED=2.14.0 + GOBJECT_REQUIRED=2.0 + LIBXML2_REQUIRED=2.1.0 diff --git a/SPECS/libeasyfc.spec b/SPECS/libeasyfc.spec new file mode 100644 index 0000000..8edc923 --- /dev/null +++ b/SPECS/libeasyfc.spec @@ -0,0 +1,190 @@ +Name: libeasyfc +Version: 0.14.0 +Release: 1%{?dist} +Summary: Easy configuration generator interface for fontconfig + +Group: System Environment/Libraries +License: LGPLv3+ +URL: http://tagoh.bitbucket.org/libeasyfc/ +Source0: https://bitbucket.org/tagoh/libeasyfc/downloads/%{name}-%{version}.tar.bz2 +Patch0: %{name}-freetype.patch + +BuildRequires: glib2-devel gobject-introspection-devel libxml2-devel fontconfig-devel >= 2.12.93 harfbuzz-devel +BuildRequires: gettext +Requires: fontconfig >= 2.12.93 + +%description +libeasyfc aims to provide an easy interface to generate +fontconfig configuration on demand. + +%package gobject +Summary: GObject interface for libeasyfc +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{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 +Summary: Development files for libeasyfc +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig +Requires: fontconfig-devel glib2-devel + +%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 +Summary: Development files for libeasyfc-gobject +Group: Development/Libraries +Requires: %{name}-gobject%{?_isa} = %{version}-%{release} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: pkgconfig +Requires: glib2-devel + +%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 +%autosetup -p1 + + +%build +%configure --disable-static +make %{?_smp_mflags} V=1 + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p" + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%post gobject -p /sbin/ldconfig +%postun gobject -p /sbin/ldconfig + + +%files +%doc README AUTHORS ChangeLog +%license 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 +* Fri Feb 16 2018 Akira TAGOH - 0.14.0-1 +- New upstream release. + +* Wed Feb 07 2018 Fedora Release Engineering - 0.13.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.13.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.13.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Feb 8 2016 Akira TAGOH - 0.13.1-1 +- New upstream release. + +* Thu Feb 04 2016 Fedora Release Engineering - 0.13.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.13.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 19 2015 Akira TAGOH - 0.13.0-5 +- Fix a crash when config files contains fonts not installed on the system. + +* Sun Aug 17 2014 Fedora Release Engineering - 0.13.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.13.0-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.13.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Jul 30 2013 Akira TAGOH - 0.13.0-1 +- New upstream release. + +* Fri Mar 29 2013 Akira TAGOH - 0.12.1-1 +- New upstream release. + +* Mon Feb 25 2013 Akira TAGOH - 0.11-1 +- New upstream release. + +* Thu Feb 14 2013 Fedora Release Engineering - 0.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Dec 18 2012 Akira TAGOH - 0.10-1 +- New upstream release. + +* Mon Jul 23 2012 Akira TAGOH - 0.9-1 +- New upstream release. + +* Thu Jul 19 2012 Fedora Release Engineering - 0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 27 2012 Akira TAGOH - 0.8-1 +- New upstream release. + +* Tue Feb 28 2012 Akira TAGOH - 0.7-1 +- New upstream release. + +* Wed Feb 08 2012 Akira TAGOH - 0.6-2 +- Move .typelib in the libeasyfc-gobject package (#788112) + +* Mon Feb 06 2012 Akira TAGOH - 0.6-1 +- New upstream release. + +* Tue Jan 24 2012 Akira TAGOH - 0.5-1 +- New upstream release. + +* Wed Jan 18 2012 Akira TAGOH - 0.4-1 +- New upstream release. + +* Fri Jan 13 2012 Fedora Release Engineering - 0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 19 2011 Akira TAGOH - 0.3-1 +- New upstream release. + +* Fri Dec 9 2011 Akira TAGOH - 0.2-1 +- New upstream release. +- Removes %%doc from subpackages as per the suggestions in the review. + +* Wed Dec 7 2011 Akira TAGOH - 0.1-1 +- Initial packaging. +