Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libgnomeprint
libgnomeprint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnomeprint.spec of Package libgnomeprint
# # spec file for package libgnomeprint # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libgnomeprint BuildRequires: bison BuildRequires: cups-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libart_lgpl-devel BuildRequires: libgnomecups-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: pango-devel BuildRequires: popt-devel BuildRequires: translation-update-upstream BuildRequires: zlib-devel # bug437293 %ifarch ppc64 Obsoletes: libgnomeprint-64bit %endif # Version: 2.18.8 Release: 0 Summary: The GNOME 2.x Printing Library License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/GNOME Source: %{name}-%{version}.tar.bz2 Source1: libgnomeprint-icons.tar.gz Source99: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: libgnomeprint-suseconfig.dif Patch1: libgnomeprint.patch Patch3: libgnomeprint-pdf-invalid-path-176712.patch # PATCH-FIX-UPSTREAM libgnomeprint-missing-include.patch bgo#653388 vuntz@opensuse.org -- Add missing include to fix build Patch4: libgnomeprint-missing-include.patch # PATCH-FIX-UPSTREAM libgnomeprint-use-recommended-freetype-include.patch hrvoje.senjan@gmail.com -- Use freetype upstream recommended #include style Patch5: libgnomeprint-use-recommended-freetype-include.patch Recommends: %{name}-lang %description This package contains the GNOME 2.x printing library, which provides a simple and clean API for GNOME programs that have to print documents. %package devel Summary: Include files and libraries mandatory for development with libgnomeprint Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: glib2-devel Requires: libart_lgpl-devel Requires: libxml2-devel Requires: pango-devel # bug437293 %ifarch ppc64 Obsoletes: libgnomeprint-devel-64bit %endif # %description devel This package contains all necessary include files and libraries needed to compile and link applications that use libgnomeprint. %package doc Summary: Documentation for libgnomeprint Group: Development/Libraries/GNOME %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description doc This package contains documentation for the GNOME 2.x printing library, which provide a simple and clean API for GNOME programs that have to print documents. %lang_package %prep %setup -q translation-update-upstream tar xvfz %SOURCE1 %patch -p1 %patch1 %patch3 %patch4 -p1 %patch5 -p0 %build autoreconf -f -i # can use openprinting/papi # FIXME: Which packages are required for rebuild of gtk-doc stuff? %configure\ --disable-static\ --disable-gtk-doc make %{?jobs:-j%jobs} %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*/*/*/*.*a %find_lang libgnomeprint-2.2 %fdupes $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING README NEWS ChangeLog %{_datadir}/gnome-print-2.0 %{_datadir}/libgnomeprint %{_libdir}/*.so.* %{_libdir}/libgnomeprint %files lang -f libgnomeprint-2.2.lang %files devel %defattr(-,root,root) %{_includedir}/libgnomeprint-2.2 %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/libgnomeprint-2.2.pc %files doc %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor