[packages/libgnomecups] - updated URL, drop .la file; release 6
qboosh
qboosh at pld-linux.org
Sun Jun 20 12:27:54 CEST 2021
commit c7d5814d1d83aedf5e397a3e4395c83c65cc8b05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 20 12:30:40 2021 +0200
- updated URL, drop .la file; release 6
libgnomecups.spec | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/libgnomecups.spec b/libgnomecups.spec
index afead17..f1b79b9 100644
--- a/libgnomecups.spec
+++ b/libgnomecups.spec
@@ -2,16 +2,16 @@ Summary: GNOME CUPS library
Summary(pl.UTF-8): Biblioteka GNOME CUPS
Name: libgnomecups
Version: 0.2.3
-Release: 5
+Release: 6
License: LGPL v2
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnomecups/0.2/%{name}-%{version}.tar.bz2
+Source0: https://download.gnome.org/sources/libgnomecups/0.2/%{name}-%{version}.tar.bz2
# Source0-md5: dc4920c15c9f886f73ea74fbff0ae48b
Patch0: %{name}-glib.patch
Patch1: %{name}-format.patch
Patch2: %{name}-lpoptions.patch
Patch3: %{name}-0.2.3-cups-1.6.patch
-URL: http://www.gnome.org/
+URL: https://www.gnome.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: cups-devel
@@ -76,11 +76,16 @@ Statyczna biblioteka libgnomecups.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
INSTALL="install -p" \
DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_localedir}/{sr at Latn,sr at latin}
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnomecups-1.0.la
+
+# unify locale name
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr at Latn,sr at latin}
%find_lang %{name}
@@ -99,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgnomecups-1.0.so
-%{_libdir}/libgnomecups-1.0.la
%{_includedir}/libgnomecups-1
%{_pkgconfigdir}/libgnomecups-1.0.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgnomecups.git/commitdiff/c7d5814d1d83aedf5e397a3e4395c83c65cc8b05
More information about the pld-cvs-commit
mailing list