Accepting request 213256 from home:sumski:branches:X11:common:Factory

Add COPYING to %doc of the library subpackage (bnc#857790)

OBS-URL: https://build.opensuse.org/request/show/213256
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libspectre?expand=0&rev=16
This commit is contained in:
Stephan Kulow
2014-01-17 10:29:11 +00:00
committed by Git OBS Bridge
parent 399f4b7ee8
commit f465838023
2 changed files with 28 additions and 24 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 9 02:38:32 UTC 2014 - hrvoje.senjan@gmail.com
- Add COPYING to %doc of the library subpackage (bnc#857790)
-------------------------------------------------------------------
Sun Oct 21 08:43:31 UTC 2012 - zaitor@opensuse.org
@@ -6,7 +11,7 @@ Sun Oct 21 08:43:31 UTC 2012 - zaitor@opensuse.org
or %%Page: comments are missing in the document or when
%%Pages: comment is present but it's invalid.
- Changed tarball into upstream default gz.
- Updated url and sourcelinks to valid locations.
- Updated url and sourcelinks to valid locations.
-------------------------------------------------------------------
Mon Aug 9 15:48:06 CEST 2010 - vuntz@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package libspectre (Version 0.2.6)
# spec file for package libspectre
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -15,21 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://libspectre.freedesktop.org/wiki/
Url: http://libspectre.freedesktop.org/
Name: libspectre
Version: 0.2.7
Release: 0
Summary: Library for Rendering PostScript Documents
License: GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
Version: 0.2.6
Release: 1
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
%define debug_package_requires libspectre1 = %{version}-%{release}
BuildRequires: ghostscript-devel ghostscript-library
BuildRequires: ghostscript-devel
BuildRequires: ghostscript-library
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libspectre is a small library for rendering Postscript documents. It
@@ -37,9 +37,8 @@ provides a convenient easy to use API for handling and rendering
Postscript documents.
%package -n libspectre1
License: GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
Group: Development/Libraries/C and C++
%description -n libspectre1
libspectre is a small library for rendering Postscript documents. It
@@ -47,10 +46,9 @@ provides a convenient easy to use API for handling and rendering
Postscript documents.
%package -n libspectre-devel
License: GPL-2.0+
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
Requires: libspectre1 >= %version
Group: Development/Libraries/C and C++
Requires: libspectre1 >= %{version}
%requires_eq ghostscript-devel
%description -n libspectre-devel
@@ -63,27 +61,28 @@ Postscript documents.
%build
%configure --disable-static --enable-shared
make %{?jobs:-j %jobs}
make %{?_smp_mflags}
%install
%makeinstall
%make_install
%post -n libspectre1 -p /sbin/ldconfig
%postun -n libspectre1 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -n libspectre1
%defattr(-, root, root)
%_libdir/libspectre.so.1*
%doc COPYING
%{_libdir}/libspectre.so.1*
%files -n libspectre-devel
%defattr(-, root, root)
/usr/include/libspectre
%_libdir/libspectre.la
%_libdir/libspectre.so
%_libdir/pkgconfig/libspectre.pc
%{_includedir}/libspectre
%{_libdir}/libspectre.la
%{_libdir}/libspectre.so
%{_libdir}/pkgconfig/libspectre.pc
%changelog