[packages/libcsystem] - up to 20150629 (alpha)

qboosh qboosh at pld-linux.org
Wed Jul 17 18:01:19 CEST 2019


commit d96cbca1f974af2503967c2a9531cc380af867cb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 17 18:03:08 2019 +0200

    - up to 20150629 (alpha)

 libcsystem.spec | 51 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 21 deletions(-)
---
diff --git a/libcsystem.spec b/libcsystem.spec
index b8cb9f6..3e2fcc6 100644
--- a/libcsystem.spec
+++ b/libcsystem.spec
@@ -1,30 +1,40 @@
+# m4/libcerror.m4
+%define		libcerror_ver	20120425
+# m4/libclocale.m4
+%define		libclocale_ver	20120425
+# m4/libcnotify.m4
+%define		libcnotify_ver	20120425
+# m4/libcstring.m4
+%define		libcstring_ver	20120425
+# m4/libuna.m4
+%define		libuna_ver	20120425
 Summary:	Library to support cross-platform C system functions
 Summary(pl.UTF-8):	Biblioteka wspierająca wieloplatformowe funkcje systemowe w C
 Name:		libcsystem
-Version:	20150101
-Release:	2
+Version:	20150629
+Release:	1
 License:	LGPL v3+
 Group:		Libraries
-Source0:	https://github.com/libyal/libcsystem/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	22ffa008d350a3279250238e2225723b
+#Source0Download: https://github.com/libyal/libcsystem/releases
+Source0:	https://github.com/libyal/libcsystem/releases/download/%{version}/%{name}-alpha-%{version}.tar.gz
+# Source0-md5:	0a4c89767cb52d26110097f894d81a8d
 Patch0:		%{name}-system-libs.patch
 URL:		https://github.com/libyal/libcsystem/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1.6
 BuildRequires:	gettext-tools >= 0.18.1
-BuildRequires:	libcerror-devel >= 20120425
-BuildRequires:	libclocale-devel >= 20120425
-BuildRequires:	libcnotify-devel >= 20120425
-BuildRequires:	libcstring-devel >= 20120425
-BuildRequires:	libuna-devel >= 20120425
+BuildRequires:	libcerror-devel >= %{libcerror_ver}
+BuildRequires:	libclocale-devel >= %{libclocale_ver}
+BuildRequires:	libcnotify-devel >= %{libcnotify_ver}
+BuildRequires:	libcstring-devel >= %{libcstring_ver}
+BuildRequires:	libuna-devel >= %{libuna_ver}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-BuildRequires:	sed >= 4.0
-Requires:	libcerror >= 20120425
-Requires:	libclocale >= 20120425
-Requires:	libcnotify >= 20120425
-Requires:	libcstring >= 20120425
-Requires:	libuna >= 20120425
+Requires:	libcerror >= %{libcerror_ver}
+Requires:	libclocale >= %{libclocale_ver}
+Requires:	libcnotify >= %{libcnotify_ver}
+Requires:	libcstring >= %{libcstring_ver}
+Requires:	libuna >= %{libuna_ver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,11 +49,11 @@ Summary:	Header files for libcsystem library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libcsystem
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	libcerror-devel >= 20120425
-Requires:	libclocale-devel >= 20120425
-Requires:	libcnotify-devel >= 20120425
-Requires:	libcstring-devel >= 20120425
-Requires:	libuna-devel >= 20120425
+Requires:	libcerror-devel >= %{libcerror_ver}
+Requires:	libclocale-devel >= %{libclocale_ver}
+Requires:	libcnotify-devel >= %{libcnotify_ver}
+Requires:	libcstring-devel >= %{libcstring_ver}
+Requires:	libuna-devel >= %{libuna_ver}
 
 %description devel
 Header files for libcsystem library.
@@ -69,7 +79,6 @@ Statyczna biblioteka libcsystem.
 
 %build
 %{__gettextize}
-%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcsystem.git/commitdiff/d96cbca1f974af2503967c2a9531cc380af867cb



More information about the pld-cvs-commit mailing list