[libeasyfc] New upstream release. Removes %doc from subpackages as per the suggestions in the review.

Akira TAGOH tagoh at fedoraproject.org
Fri Dec 9 02:33:10 UTC 2011


commit 3b47a93cd7a4321fda97fca546e0e02984d907bd
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Dec 9 11:33:06 2011 +0900

    New upstream release.
    Removes %doc from subpackages as per the suggestions in the review.

 .gitignore     |    2 +
 libeasyfc.spec |  116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e760bd2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/libeasyfc-0.1.tar.bz2
+/libeasyfc-0.2.tar.bz2
diff --git a/libeasyfc.spec b/libeasyfc.spec
new file mode 100644
index 0000000..bf6afe5
--- /dev/null
+++ b/libeasyfc.spec
@@ -0,0 +1,116 @@
+Name:		libeasyfc
+Version:	0.2
+Release:	1%{?dist}
+Summary:	Easy configuration generator interface for fontconfig
+
+Group:		System Environment/Libraries
+License:	LGPLv3+
+URL:		http://github.com/tagoh/libeasyfc
+Source0:	https://github.com/downloads/tagoh/libeasyfc/libeasyfc-%{version}.tar.bz2
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	glib2-devel gobject-introspection-devel libxml2-devel fontconfig-devel
+BuildRequires:	gettext
+
+%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} = %{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} = %{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 = %{version}-%{release}
+Requires:	%{name}-devel = %{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
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%post	gobject -p /sbin/ldconfig
+%postun	gobject -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc README AUTHORS COPYING ChangeLog
+%{_libdir}/libeasyfc.so.*
+
+%files	gobject
+%defattr(-, root, root, -)
+%{_libdir}/libeasyfc-gobject.so.*
+
+%files	devel
+%defattr(-, root, root, -)
+%{_includedir}/libeasyfc
+%exclude %{_includedir}/libeasyfc/ezfc-gobject.h
+%{_libdir}/libeasyfc.so
+%{_libdir}/pkgconfig/libeasyfc.pc
+%{_datadir}/gtk-doc/html/libeasyfc
+
+%files	gobject-devel
+%defattr(-, root, root, -)
+%{_includedir}/libeasyfc/ezfc-gobject.h
+%{_libdir}/libeasyfc-gobject.so
+%{_libdir}/girepository-*/Easyfc-*.typelib
+%{_libdir}/pkgconfig/libeasyfc-gobject.pc
+%{_datadir}/gir-*/Easyfc-*.gir
+
+%changelog
+* Fri Dec  9 2011 Akira TAGOH <tagoh at redhat.com> - 0.2-1
+- New upstream release.
+- Removes %%doc from subpackages as per the suggestions in the review.
+
+* Wed Dec  7 2011 Akira TAGOH <tagoh at redhat.com> - 0.1-1
+- Initial packaging.
+
diff --git a/sources b/sources
index e69de29..ea21fa4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3022bae89156b2e5a319fc9dbc321498  libeasyfc-0.2.tar.bz2


More information about the scm-commits mailing list