--- /dev/null
+--- glabels-3.4.1/src/template-history.h.orig 2016-03-04 05:01:15.000000000 +0100
++++ glabels-3.4.1/src/template-history.h 2020-09-27 14:43:16.510439592 +0200
+@@ -28,7 +28,7 @@
+ G_BEGIN_DECLS
+
+
+-glTemplateHistoryModel *gl_template_history;
++extern glTemplateHistoryModel *gl_template_history;
+
+
+ void gl_template_history_init (void);
+--- glabels-3.4.1/src/font-history.h.orig 2016-03-04 05:01:15.000000000 +0100
++++ glabels-3.4.1/src/font-history.h 2020-09-27 14:43:46.635333431 +0200
+@@ -28,7 +28,7 @@
+ G_BEGIN_DECLS
+
+
+-glFontHistoryModel *gl_font_history;
++extern glFontHistoryModel *gl_font_history;
+
+
+ void gl_font_history_init (void);
Summary(pl.UTF-8): gLabels - program dla GNOME do tworzenia etykiet i wizytówek
Name: glabels
Version: 3.4.1
-Release: 1
+Release: 2
License: GPL v3+ (libraries: LGPL v3+)
Group: X11/Applications/Graphics
Source0: http://ftp.gnome.org/pub/GNOME/sources/glabels/3.4/%{name}-%{version}.tar.xz
# Source0-md5: 095105ac95872bd9a767764fa60d5152
Patch0: %{name}-link.patch
+Patch1: %{name}-no-common.patch
URL: http://www.glabels.org/
BuildRequires: autoconf >= 2.64
BuildRequires: automake
BuildRequires: pango-devel >= 1:1.36.0
BuildRequires: pkgconfig
BuildRequires: qrencode-devel >= 3.1.0
-BuildRequires: rpmbuild(macros) >= 1.592
+BuildRequires: rpmbuild(macros) >= 1.748
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: yelp-tools
License: CC-BY-SA v3.0
Group: Documentation
Requires: gtk-doc-common
-%if "%{_rpmversion}" >= "5"
+%if 0%{?_ver_ge "%{_rpmversion}" "4.6"}
BuildArch: noarch
%endif
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__glib_gettextize}