package created by silvan using the webbuild interface [release 0.2.2-1mamba;Mon Aug 05 2013]
This commit is contained in:
parent
805173a528
commit
7b2e86a991
@ -1,2 +1,4 @@
|
|||||||
# libgxps
|
# libgxps
|
||||||
|
|
||||||
|
libgxps is a GObject based library for handling and rendering XPS documents.
|
||||||
|
|
||||||
|
117
libgxps.spec
Normal file
117
libgxps.spec
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
Name: libgxps
|
||||||
|
Version: 0.2.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A GObject based library for handling and rendering XPS documents
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://wiki.gnome.org/libgxps
|
||||||
|
Source: http://ftp.gnome.org/pub/gnome/sources/libgxps/0.2/libgxps-%{version}.tar.xz
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libacl-devel
|
||||||
|
BuildRequires: libarchive-devel
|
||||||
|
BuildRequires: libattr-devel
|
||||||
|
BuildRequires: libbzip2-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libjbig-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: liblcms2-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: liblzo-devel
|
||||||
|
BuildRequires: libnettle-devel
|
||||||
|
BuildRequires: libpng15-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
libgxps is a GObject based library for handling and rendering XPS documents.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Group: Applications/Publishing
|
||||||
|
Summary: Utility applications for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains utility applications for %{name}.
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Group: Documentation
|
||||||
|
Summary: %{name} API documentation
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
This package includes the %{name} API documentation.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-gtk-doc
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libgxps.so.*
|
||||||
|
%{_libdir}/girepository-1.0/GXPS-0.1.typelib
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/libgxps/
|
||||||
|
%{_includedir}/libgxps/*.h
|
||||||
|
%{_libdir}/libgxps.a
|
||||||
|
%{_libdir}/libgxps.la
|
||||||
|
%{_libdir}/libgxps.so
|
||||||
|
%{_libdir}/pkgconfig/libgxps.pc
|
||||||
|
%{_datadir}/gir-1.0/GXPS-0.1.gir
|
||||||
|
%doc ChangeLog NEWS README TODO
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/xpstojpeg
|
||||||
|
%{_bindir}/xpstopdf
|
||||||
|
%{_bindir}/xpstopng
|
||||||
|
%{_bindir}/xpstops
|
||||||
|
%{_bindir}/xpstosvg
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc/html/libgxps
|
||||||
|
%{_datadir}/gtk-doc/html/libgxps/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1mamba
|
||||||
|
- package created by silvan using the webbuild interface
|
Loading…
Reference in New Issue
Block a user