[packages/libcnotify] - updated to 20180102 (beta) - removed obsolete system-libs patch
qboosh
qboosh at pld-linux.org
Wed Jul 17 05:55:15 CEST 2019
commit e22ad871f4c2e8e7c8424ccc5bc85f4940c7dc04
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 17 05:57:03 2019 +0200
- updated to 20180102 (beta)
- removed obsolete system-libs patch
libcnotify-system-libs.patch | 40 ----------------------------------------
libcnotify.spec | 24 ++++++++++--------------
2 files changed, 10 insertions(+), 54 deletions(-)
---
diff --git a/libcnotify.spec b/libcnotify.spec
index 8ee591d..8624217 100644
--- a/libcnotify.spec
+++ b/libcnotify.spec
@@ -1,24 +1,23 @@
+# m4/libcerror.m4
+%define libcerror_ver 20120425
Summary: Library to support cross-platform C notification functions
Summary(pl.UTF-8): Biblioteka wspierająca wieloplatformowe funkcje powiadomień w C
Name: libcnotify
-Version: 20150101
-Release: 2
+Version: 20180102
+Release: 1
License: LGPL v3+
Group: Libraries
-Source0: https://github.com/libyal/libcnotify/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 32e59a8fff5917ee3d62018c5a9f4439
-Patch0: %{name}-system-libs.patch
+#Source0Download: https://github.com/libyal/libcnotify/releases
+Source0: https://github.com/libyal/libcnotify/releases/download/%{version}/%{name}-beta-%{version}.tar.gz
+# Source0-md5: 7be8749579eecfd7029376cf3ddcc884
URL: https://github.com/libyal/libcnotify/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.6
BuildRequires: gettext-tools >= 0.18.1
-BuildRequires: libcerror-devel >= 20120425
-BuildRequires: libcstring-devel >= 20120425
+BuildRequires: libcerror-devel >= %{libcerror_ver}
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
-Requires: libcerror >= 20120425
-Requires: libcstring >= 20120425
+Requires: libcerror >= %{libcerror_ver}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,8 +33,7 @@ Summary: Header files for libcnotify library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcnotify
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libcerror-devel >= 20120425
-Requires: libcstring-devel >= 20120425
+Requires: libcerror-devel >= %{libcerror_ver}
%description devel
Header files for libcnotify library.
@@ -57,11 +55,9 @@ Statyczna biblioteka libcnotify.
%prep
%setup -q
-%patch0 -p1
%build
%{__gettextize}
-%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
diff --git a/libcnotify-system-libs.patch b/libcnotify-system-libs.patch
deleted file mode 100644
index 3d8584c..0000000
--- a/libcnotify-system-libs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- libcnotify-20150101/configure.ac.orig 2015-01-19 17:20:39.466864463 +0100
-+++ libcnotify-20150101/configure.ac 2015-01-19 17:46:53.676798399 +0100
-@@ -128,8 +128,6 @@ dnl Have configure make the Makefiles
- AC_CONFIG_FILES([Makefile])
- AC_CONFIG_FILES([include/Makefile])
- AC_CONFIG_FILES([common/Makefile])
--AC_CONFIG_FILES([libcstring/Makefile])
--AC_CONFIG_FILES([libcerror/Makefile])
- AC_CONFIG_FILES([libcnotify/Makefile])
- AC_CONFIG_FILES([po/Makefile.in])
- AC_CONFIG_FILES([po/Makevars])
---- libcnotify-20150101/Makefile.am.orig 2015-01-19 17:20:39.190197808 +0100
-+++ libcnotify-20150101/Makefile.am 2015-01-19 17:47:11.440130987 +0100
-@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
- SUBDIRS = \
- include \
- common \
-- libcstring \
-- libcerror \
- libcnotify \
- po \
- manuals \
-@@ -55,8 +53,6 @@ lib: library
-
- library:
- cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)
-- cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS)
-- cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)
- cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS)
- cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)
-
-@@ -73,8 +69,6 @@ distclean: clean
- done && test -z "$$fail"
-
- splint:
-- (cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
-- (cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/po && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcnotify.git/commitdiff/e22ad871f4c2e8e7c8424ccc5bc85f4940c7dc04
More information about the pld-cvs-commit
mailing list