commit libspectre for openSUSE:Factory

2020-09-01 Thread root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2020-09-01 20:00:45

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new.3399 (New)


Package is "libspectre"

Tue Sep  1 20:00:45 2020 rev:26 rq:828315 version:0.2.9

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2016-08-26 
23:15:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspectre.new.3399/libspectre.changes  
2020-09-01 20:00:59.200413338 +0200
@@ -1,0 +2,16 @@
+Thu Aug 20 22:01:59 UTC 2020 - Dirk Mueller 
+
+- update to 0.2.9:
+  * Fixed lots of crashes, memory leaks with malformed
+  documents (Albert Astals Cid, Randy)
+
+  * Ghostscript 9.24 is now required (Christian Persch)
+
+  * Hide internal symbols (Christian Persch)
+
+  * Added "(libspectre)" to the error messages to be clear where the
+  messages come from (Caolán McNamara)
+  * Fixed clang warnings (Albert Astals Cid) 
+- fix-bsc975503.diff: refresh
+
+---

Old:

  libspectre-0.2.8.tar.gz

New:

  libspectre-0.2.9.tar.gz



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.0N5X72/_old  2020-09-01 20:01:01.332414335 +0200
+++ /var/tmp/diff_new_pack.0N5X72/_new  2020-09-01 20:01:01.336414337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libspectre
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,24 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-Url:http://libspectre.freedesktop.org/
-
+%define debug_package_requires libspectre1 = %{version}-%{release}
 Name:   libspectre
-Version:0.2.8
+Version:0.2.9
 Release:0
 Summary:Library for Rendering PostScript Documents
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
+URL:https://libspectre.freedesktop.org/
 Source0:
http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM fix-bsc975503.diff bsc#975503 fdo#97091 -- Parse ps files 
ignoring EOF comments which would stop parsing too soon in documents with 
embedded EPS files.
 Patch0: fix-bsc975503.diff
-%define debug_package_requires libspectre1 = %{version}-%{release}
 BuildRequires:  ghostscript-devel
 BuildRequires:  ghostscript-library
-BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 libspectre is a small library for rendering Postscript documents. It
@@ -64,25 +62,19 @@
 
 %build
 %configure --disable-static --enable-shared
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 
 %post -n libspectre1 -p /sbin/ldconfig
-
 %postun -n libspectre1 -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
-
 %files -n libspectre1
-%defattr(-, root, root)
-%doc COPYING
+%license COPYING
 %{_libdir}/libspectre.so.1*
 
 %files -n libspectre-devel
-%defattr(-, root, root)
 %{_includedir}/libspectre
 %{_libdir}/libspectre.la
 %{_libdir}/libspectre.so

++ fix-bsc975503.diff ++
--- /var/tmp/diff_new_pack.0N5X72/_old  2020-09-01 20:01:01.364414350 +0200
+++ /var/tmp/diff_new_pack.0N5X72/_new  2020-09-01 20:01:01.368414352 +0200
@@ -1,13 +1,13 @@
-Index: libspectre-0.2.7/libspectre/spectre-document.c
+Index: libspectre-0.2.9/libspectre/spectre-document.c
 ===
 libspectre-0.2.7.orig/libspectre/spectre-document.c
-+++ libspectre-0.2.7/libspectre/spectre-document.c
-@@ -67,7 +67,7 @@ spectre_document_load (SpectreDocument *
-   document->doc = NULL;
+--- libspectre-0.2.9.orig/libspectre/spectre-document.c
 libspectre-0.2.9/libspectre/spectre-document.c
+@@ -72,7 +72,7 @@ document_load (SpectreDocument *document
+   return;
}

--  document->doc = psscan (filename, SCANSTYLE_NORMAL);
-+  document->doc = psscan (filename, SCANSTYLE_IGNORE_EOF);
+-  document->doc = psscan (file, filename, SCANSTYLE_NORMAL);
++  document->doc = psscan (file, filename, SCANSTYLE_IGNORE_EOF);
if (!document->doc) {
document->status = SPECTRE_STATUS_LOAD_ERROR;
return;

++ libspectre-0.2.8.tar.gz -> 

commit libspectre for openSUSE:Factory

2016-08-26 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2016-08-26 23:15:23

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is "libspectre"

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2016-07-14 
09:41:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2016-08-26 23:15:25.0 +0200
@@ -1,0 +2,8 @@
+Tue Aug 23 14:39:44 UTC 2016 - alarr...@suse.com
+
+- Add fix-bsc975503.diff to fix handling of PostScript files with
+  embedded EPS files. The PS file then contains two "%%EOF" DSC
+  comments and the first one stopped the parsing of the file as if
+  the real EOF was reached (bsc#975503, fdo#97091).
+
+---

New:

  fix-bsc975503.diff



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.pP7RPt/_old  2016-08-26 23:15:26.0 +0200
+++ /var/tmp/diff_new_pack.pP7RPt/_new  2016-08-26 23:15:26.0 +0200
@@ -25,6 +25,8 @@
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Source0:
http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-bsc975503.diff bsc#975503 fdo#97091 -- Parse ps files 
ignoring EOF comments which would stop parsing too soon in documents with 
embedded EPS files.
+Patch0: fix-bsc975503.diff
 %define debug_package_requires libspectre1 = %{version}-%{release}
 BuildRequires:  ghostscript-devel
 BuildRequires:  ghostscript-library
@@ -58,6 +60,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-static --enable-shared

++ fix-bsc975503.diff ++
Index: libspectre-0.2.7/libspectre/spectre-document.c
===
--- libspectre-0.2.7.orig/libspectre/spectre-document.c
+++ libspectre-0.2.7/libspectre/spectre-document.c
@@ -67,7 +67,7 @@ spectre_document_load (SpectreDocument *
document->doc = NULL;
}

-   document->doc = psscan (filename, SCANSTYLE_NORMAL);
+   document->doc = psscan (filename, SCANSTYLE_IGNORE_EOF);
if (!document->doc) {
document->status = SPECTRE_STATUS_LOAD_ERROR;
return;



commit libspectre for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2016-07-14 09:41:33

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is "libspectre"

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2015-11-22 
10:59:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2016-07-14 09:41:34.0 +0200
@@ -1,0 +2,16 @@
+Sat Jul  2 13:32:33 UTC 2016 - zai...@opensuse.org
+
+- Update to version to version 0.2.8:
+  + Fixed the document rotation with newer versions of Ghostscript
+(fdo#76450).
+  + Build was also broken with Ghostscript >= 9.18 and has been
+fixed.
+  + Fixed a compile warning due to a comparison of integers of
+different signs when building on OS X (fdo#56476).
+  + Makefiles were updated to properly use CPPFLAGS instead of
+CFLAGS (fdo#56481).
+- Drop libspectre-gs-9.18.patch and
+  libspectre-rotate-documents-correctly.patch: Fixed upstream.
+- Drop zypper BuildRequires: It was only needed for above patches.
+
+---

Old:

  libspectre-0.2.7.tar.gz
  libspectre-gs-9.18.patch
  libspectre-rotate-documents-correctly.patch

New:

  libspectre-0.2.8.tar.gz



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.sCG4Wh/_old  2016-07-14 09:41:34.0 +0200
+++ /var/tmp/diff_new_pack.sCG4Wh/_new  2016-07-14 09:41:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libspectre
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,23 +19,16 @@
 Url:http://libspectre.freedesktop.org/
 
 Name:   libspectre
-Version:0.2.7
+Version:0.2.8
 Release:0
 Summary:Library for Rendering PostScript Documents
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Source0:
http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM libspectre-gs-9.18.patch boo#953149 dims...@opensuse.org 
-- Fix build with Ghostscript 9.18: e_* is renamed to gs_error_*
-Patch0: libspectre-gs-9.18.patch
 %define debug_package_requires libspectre1 = %{version}-%{release}
-# Need ghostscript-devel >= 9.18 due to libspectre-gs-9.18 patch
-# PATCH-FIX-UPSTREAM libspectre-rotate-documents-correctly.patch fdo#76450 
boo#898327 badshah...@gmail.com -- Fix documents not rotated correctly
-Patch1: libspectre-rotate-documents-correctly.patch
 BuildRequires:  ghostscript-devel
 BuildRequires:  ghostscript-library
 BuildRequires:  pkg-config
-# Zypper is just needed as a helper to properly compare versions, to decide if 
patch0 needs to be applied or not
-BuildRequires:  zypper
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -65,11 +58,6 @@
 
 %prep
 %setup -q
-# Apply the patch only for ghostscript >= 9.18
-if zypper vcmp $(rpm -q --qf '%%{version}' ghostscript-devel) 9.18 | grep -e 
"\(newer\|matches\)"; then
-%patch0 -p1
-fi
-%patch1 -p1
 
 %build
 %configure --disable-static --enable-shared

++ libspectre-0.2.7.tar.gz -> libspectre-0.2.8.tar.gz ++
 32938 lines of diff (skipped)




commit libspectre for openSUSE:Factory

2015-11-22 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2015-11-22 10:59:32

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is "libspectre"

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2015-11-08 
11:25:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2015-11-22 10:59:34.0 +0100
@@ -1,0 +2,7 @@
+Sun Nov  8 06:46:01 UTC 2015 - badshah...@gmail.com
+
+- Add libspectre-rotate-documents-correctly.patch to fix documents
+  being rotated incorrectly; patch taken from upstream bug
+  report (fdo#76450,boo#898327).
+
+---

New:

  libspectre-rotate-documents-correctly.patch



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.7AZNlk/_old  2015-11-22 10:59:35.0 +0100
+++ /var/tmp/diff_new_pack.7AZNlk/_new  2015-11-22 10:59:35.0 +0100
@@ -29,6 +29,8 @@
 Patch0: libspectre-gs-9.18.patch
 %define debug_package_requires libspectre1 = %{version}-%{release}
 # Need ghostscript-devel >= 9.18 due to libspectre-gs-9.18 patch
+# PATCH-FIX-UPSTREAM libspectre-rotate-documents-correctly.patch fdo#76450 
boo#898327 badshah...@gmail.com -- Fix documents not rotated correctly
+Patch1: libspectre-rotate-documents-correctly.patch
 BuildRequires:  ghostscript-devel
 BuildRequires:  ghostscript-library
 BuildRequires:  pkg-config
@@ -67,6 +69,7 @@
 if zypper vcmp $(rpm -q --qf '%%{version}' ghostscript-devel) 9.18 | grep -e 
"\(newer\|matches\)"; then
 %patch0 -p1
 fi
+%patch1 -p1
 
 %build
 %configure --disable-static --enable-shared

++ libspectre-rotate-documents-correctly.patch ++
>From adb610d22582f0598f6e5c699c08e7495767de28 Mon Sep 17 00:00:00 2001
From: Marek Kasik 
Date: Wed, 7 Jan 2015 18:35:16 +0100
Subject: [PATCH] Rotate documents correctly

Rotate result of rendering given by ghostscript.

https://bugs.freedesktop.org/show_bug.cgi?id=76450
---
 libspectre/spectre-device.c | 97 -
 1 file changed, 95 insertions(+), 2 deletions(-)

diff --git a/libspectre/spectre-device.c b/libspectre/spectre-device.c
index a527d86..537f337 100644
--- a/libspectre/spectre-device.c
+++ b/libspectre/spectre-device.c
@@ -99,7 +99,7 @@ spectre_sync (void *handle, void *device)
 }
 
 static int
-spectre_page (void *handle, void * device, int copies, int flush)
+spectre_page (void *handle, void *device, int copies, int flush)
 {
SpectreDevice *sd;
 
@@ -162,6 +162,33 @@ spectre_device_new (struct document *doc)
return device;
 }
 
+#define PIXEL_SIZE 4
+#define ROW_ALIGN 32
+
+static void
+swap_pixels (unsigned char *data,
+ size_t pixel_a_start,
+ size_t pixel_b_start)
+{
+   unsigned char value;
+   size_ti;
+
+   for (i = 0; i < PIXEL_SIZE; i++) {
+   value = data[pixel_a_start + i];
+   data[pixel_a_start + i] = data[pixel_b_start + i];
+   data[pixel_b_start + i] = value;
+   }
+}
+
+static void
+copy_pixel (unsigned char *dest,
+unsigned char *src,
+size_t dest_pixel_start,
+size_t src_pixel_start)
+{
+   memcpy (dest + dest_pixel_start, src + src_pixel_start, PIXEL_SIZE);
+}
+
 SpectreStatus
 spectre_device_render (SpectreDevice*device,
   unsigned int  page,
@@ -185,6 +212,10 @@ spectre_device_render (SpectreDevice*device,
char  *dsp_format, *dsp_handle;
char  *width_points = NULL;
char  *height_points = NULL;
+   unsigned char *user_image;
+   size_t stride, padding;
+   inti, j;
+
 
gs = spectre_gs_new ();
if (!gs)
@@ -277,7 +308,7 @@ spectre_device_render (SpectreDevice*device,
}
 
set = _spectre_strdup_printf ("<< /Orientation %d >> setpagedevice 
.locksafe",
- rc->orientation);
+ SPECTRE_ORIENTATION_PORTRAIT);
if (!spectre_gs_send_string (gs, set)) {
free (set);
spectre_gs_free (gs);
@@ -293,6 +324,68 @@ spectre_device_render (SpectreDevice*device,
*page_data = device->user_image;
*row_length = device->row_length;
 
+   switch (rc->orientation)
+ {
+   default:
+   case SPECTRE_ORIENTATION_PORTRAIT:
+ break;
+   case SPECTRE_ORIENTATION_REVERSE_PORTRAIT:
+   for (j = 0; j < height / 2; 

commit libspectre for openSUSE:Factory

2015-11-08 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2015-11-08 11:25:36

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is "libspectre"

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2014-01-23 
15:48:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2015-11-08 11:25:37.0 +0100
@@ -1,0 +2,13 @@
+Wed Nov  4 15:02:34 UTC 2015 - dims...@opensuse.org
+
+- Replace the logic in the prep section to use zypper in order to
+  verify the version. The previous version had issues on openSUSE
+  13.2.
+
+---
+Wed Nov  4 10:33:43 UTC 2015 - dims...@opensuse.org
+
+- Add libspectre-gs-9.18.patch: Fix building with ghostscript 9.18;
+  patch only applied when building against GS 9.18+ (boo#953149).
+
+---

New:

  libspectre-gs-9.18.patch



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.VzwX87/_old  2015-11-08 11:25:38.0 +0100
+++ /var/tmp/diff_new_pack.VzwX87/_new  2015-11-08 11:25:38.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libspectre
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,15 @@
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Source0:
http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM libspectre-gs-9.18.patch boo#953149 dims...@opensuse.org 
-- Fix build with Ghostscript 9.18: e_* is renamed to gs_error_*
+Patch0: libspectre-gs-9.18.patch
 %define debug_package_requires libspectre1 = %{version}-%{release}
+# Need ghostscript-devel >= 9.18 due to libspectre-gs-9.18 patch
 BuildRequires:  ghostscript-devel
 BuildRequires:  ghostscript-library
 BuildRequires:  pkg-config
+# Zypper is just needed as a helper to properly compare versions, to decide if 
patch0 needs to be applied or not
+BuildRequires:  zypper
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -58,6 +63,10 @@
 
 %prep
 %setup -q
+# Apply the patch only for ghostscript >= 9.18
+if zypper vcmp $(rpm -q --qf '%%{version}' ghostscript-devel) 9.18 | grep -e 
"\(newer\|matches\)"; then
+%patch0 -p1
+fi
 
 %build
 %configure --disable-static --enable-shared

++ libspectre-gs-9.18.patch ++
Index: libspectre-0.2.7/libspectre/spectre-gs.c
===
--- libspectre-0.2.7.orig/libspectre/spectre-gs.c
+++ libspectre-0.2.7/libspectre/spectre-gs.c
@@ -43,12 +43,12 @@ critic_error_code (int code)

if (code <= -100) {
switch (code) {
-   case e_Fatal:
+   case gs_error_Fatal:
fprintf (stderr, "fatal internal error %d", 
code);
return TRUE;
break;
 
-   case e_ExecStackUnderflow:
+   case gs_error_ExecStackUnderflow:
fprintf (stderr, "stack overflow %d", code);
return TRUE;
break;
@@ -109,9 +109,9 @@ spectre_gs_process (SpectreGS  *gs,
set = _spectre_strdup_printf ("%d %d translate\n", -x, -y);
error = gsapi_run_string_continue (ghostscript_instance, set, 
strlen (set),
   0, _code);
-   error = error == e_NeedInput ? 0 : error;
+   error = error == gs_error_NeedInput ? 0 : error;
free (set);
-   if (error != e_NeedInput && critic_error_code (error)) {
+   if (error != gs_error_NeedInput && critic_error_code (error)) {
fclose (fd);
return FALSE;
}
@@ -126,7 +126,7 @@ spectre_gs_process (SpectreGS  *gs,
read = fread (buf, sizeof (char), to_read, fd);
error = gsapi_run_string_continue (ghostscript_instance,
   buf, read, 0, _code);
-   error = error == e_NeedInput ? 0 : error;
+   error = error == gs_error_NeedInput ? 0 : error;
left -= read;
}




commit libspectre for openSUSE:Factory

2014-01-23 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2014-01-17 13:18:30

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is libspectre

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2012-10-24 
17:10:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2014-01-23 15:48:34.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan  9 02:38:32 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Add COPYING to %doc of the library subpackage (bnc#857790)
+
+---



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.DRF2n0/_old  2014-01-23 15:48:34.0 +0100
+++ /var/tmp/diff_new_pack.DRF2n0/_new  2014-01-23 15:48:34.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libspectre
 #
-# Copyright (c) 2012 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
@@ -19,17 +19,17 @@
 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++
-Version:0.2.7
-Release:0
-Source0:
http://libspectre.freedesktop.org/releases/%name-%version.tar.gz
-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
 BuildRequires:  ghostscript-library
 BuildRequires:  pkg-config
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 libspectre is a small library for rendering Postscript documents. It
@@ -48,7 +48,7 @@
 %package -n libspectre-devel
 Summary:Library for Rendering PostScript Documents
 Group:  Development/Libraries/C and C++
-Requires:   libspectre1 = %version
+Requires:   libspectre1 = %{version}
 %requires_eq ghostscript-devel
 
 %description -n libspectre-devel
@@ -61,27 +61,28 @@
 
 %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

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libspectre for openSUSE:Factory

2012-10-24 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2012-10-24 17:10:13

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is libspectre, Maintainer is kde-maintain...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes2011-09-23 
02:10:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspectre.new/libspectre.changes   
2012-10-24 17:10:15.0 +0200
@@ -1,0 +2,10 @@
+Sun Oct 21 08:43:31 UTC 2012 - zai...@opensuse.org
+
+- Update to version 0.2.7:
+  + This release fixes two crashes that can happen when %%Pages:
+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. 
+
+---

Old:

  libspectre-0.2.6.tar.bz2

New:

  libspectre-0.2.7.tar.gz



Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.iGkaXE/_old  2012-10-24 17:10:19.0 +0200
+++ /var/tmp/diff_new_pack.iGkaXE/_new  2012-10-24 17:10:19.0 +0200
@@ -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) 2012 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,20 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-Url:http://libspectre.freedesktop.org/wiki/
+Url:http://libspectre.freedesktop.org/
 
 Name:   libspectre
+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
+Version:0.2.7
+Release:0
+Source0:
http://libspectre.freedesktop.org/releases/%name-%version.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libspectre1 = %{version}-%{release}
-BuildRequires:  ghostscript-devel ghostscript-library
+BuildRequires:  ghostscript-devel
+BuildRequires:  ghostscript-library
 BuildRequires:  pkg-config
 
 %description
@@ -37,9 +37,8 @@
 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,9 +46,8 @@
 Postscript documents.
 
 %package -n libspectre-devel
-License:GPL-2.0+
-Group:  Development/Libraries/C and C++
 Summary:Library for Rendering PostScript Documents
+Group:  Development/Libraries/C and C++
 Requires:   libspectre1 = %version
 %requires_eq ghostscript-devel
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libspectre for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package libspectre for openSUSE:Factory 
checked in at 2011-12-06 18:25:51

Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
 and  /work/SRC/openSUSE:Factory/.libspectre.new (New)


Package is libspectre, Maintainer is kde-maintain...@suse.de

Changes:




Other differences:
--
++ libspectre.spec ++
--- /var/tmp/diff_new_pack.mDYzXI/_old  2011-12-06 18:46:20.0 +0100
+++ /var/tmp/diff_new_pack.mDYzXI/_new  2011-12-06 18:46:20.0 +0100
@@ -20,7 +20,7 @@
 Url:http://libspectre.freedesktop.org/wiki/
 
 Name:   libspectre
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Summary:Library for Rendering PostScript Documents
 Version:0.2.6
@@ -37,7 +37,7 @@
 Postscript documents.
 
 %package -n libspectre1
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Summary:Library for Rendering PostScript Documents
 
@@ -47,7 +47,7 @@
 Postscript documents.
 
 %package -n libspectre-devel
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Summary:Library for Rendering PostScript Documents
 Requires:   libspectre1 = %version

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org