Initial import (#751568)
This commit is contained in:
parent
05e700e402
commit
4dac874384
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libgxps-0.1.0.tar.bz2
|
||||
71
libgxps.spec
Normal file
71
libgxps.spec
Normal file
@ -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@compton.nu> - 0.1.0-2
|
||||
- Fix base package dependency in devel package.
|
||||
|
||||
* Fri Nov 4 2011 Tom Hughes <tom@compton.nu> - 0.1.0-1
|
||||
- Initial build.
|
||||
Loading…
Reference in New Issue
Block a user