[libgxps] Initial import (#751568)
Tom Hughes
tomh at fedoraproject.org
Wed Nov 23 15:35:34 UTC 2011
commit 4dac87438495261430b0a3c83fac008194bc9838
Author: Tom Hughes <tom at compton.nu>
Date: Wed Nov 23 15:35:16 2011 +0000
Initial import (#751568)
.gitignore | 1 +
libgxps.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..abc3376 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libgxps-0.1.0.tar.bz2
diff --git a/libgxps.spec b/libgxps.spec
new file mode 100644
index 0000000..e119427
--- /dev/null
+++ b/libgxps.spec
@@ -0,0 +1,71 @@
+Name: libgxps
+Version: 0.1.0
+Release: 2%{?dist}
+Summary: GObject based library for handling and rendering XPS documents
+
+License: LGPLv2+
+URL: http://live.gnome.org/libgxps
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.1/%{name}-%{version}.tar.bz2
+
+BuildRequires: gtk3-devel
+BuildRequires: glib2-devel
+BuildRequires: gobject-introspection-devel
+BuildRequires: gtk-doc
+BuildRequires: cairo-devel
+BuildRequires: libarchive-devel
+BuildRequires: freetype-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libtiff-devel
+
+%description
+libgxps is a GObject based library for handling and rendering XPS
+documents.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{_libdir}/*.so.*
+%{_libdir}/girepository-1.0/*.typelib
+
+%files devel
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/gir-1.0/*.gir
+%{_datadir}/gtk-doc/html/libgxps
+
+
+%changelog
+* Sat Nov 5 2011 Tom Hughes <tom at compton.nu> - 0.1.0-2
+- Fix base package dependency in devel package.
+
+* Fri Nov 4 2011 Tom Hughes <tom at compton.nu> - 0.1.0-1
+- Initial build.
diff --git a/sources b/sources
index e69de29..b2be8e1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c3fbbf5db3d3505e22c0679393916333 libgxps-0.1.0.tar.bz2
More information about the scm-commits
mailing list