[packages/libxspf] - updated to 1.2.1
qboosh
qboosh at pld-linux.org
Sat Mar 29 18:32:53 CET 2025
commit 527fa9ddbec43bbf653f3c9c0d543310a5c4128d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 29 18:10:56 2025 +0100
- updated to 1.2.1
libxspf-am.patch | 9 ---------
libxspf-gcc47.patch | 10 ----------
libxspf-link.patch | 17 -----------------
libxspf.spec | 26 ++++++++++----------------
4 files changed, 10 insertions(+), 52 deletions(-)
---
diff --git a/libxspf.spec b/libxspf.spec
index 4fae68d..47b2b5f 100644
--- a/libxspf.spec
+++ b/libxspf.spec
@@ -1,27 +1,24 @@
#
# Conditional build
-%bcond_without static_libs # don't build static library
-%bcond_without tests # disable cpptest
+%bcond_without static_libs # static library
+%bcond_without tests # unit tests based on cpptest
#
Summary: XSPF playlist reading and writing support
Summary(pl.UTF-8): Obsługa odczytu i zapisu playlist XSPF
Name: libxspf
-Version: 1.2.0
-Release: 5
+Version: 1.2.1
+Release: 1
License: BSD
Group: Libraries
-Source0: http://downloads.sourceforge.net/libspiff/%{name}-%{version}.tar.gz
-# Source0-md5: d3276bf6c7f86442b72629a3e7b8bd5b
-Patch0: %{name}-link.patch
-Patch1: %{name}-am.patch
-Patch2: %{name}-gcc47.patch
-URL: http://libspiff.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
+Source0: https://downloads.sourceforge.net/libspiff/%{name}-%{version}.tar.bz2
+# Source0-md5: 2f3be63bd8ba11cf4e582d05549f5103
+URL: https://libspiff.sourceforge.net/
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.16
%{?with_tests:BuildRequires: cpptest-devel >= 1.1.0}
BuildRequires: expat-devel >= 1:1.95.8
BuildRequires: libstdc++-devel
-BuildRequires: libtool >= 2:1.5
+BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig
BuildRequires: uriparser-devel >= 0.7.5
Requires: expat >= 1:1.95.8
@@ -67,9 +64,6 @@ Statyczna biblioteka libxspf.
%prep
%setup -q
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
%build
%{__libtoolize}
diff --git a/libxspf-am.patch b/libxspf-am.patch
deleted file mode 100644
index ab1b9af..0000000
--- a/libxspf-am.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- libxspf-1.2.0/Makefile.am~ 2009-03-07 00:45:48.000000000 +0100
-+++ libxspf-1.2.0/Makefile.am 2012-11-16 14:40:53.899030547 +0100
-@@ -1,5 +1,5 @@
- ## Process this file with automake to produce Makefile.in
--AUTOMAKE_OPTIONS = 1.10.1 gnu dist-zip dist-bzip2 dist-lzma subdir-objects
-+AUTOMAKE_OPTIONS = 1.10.1 gnu dist-zip dist-bzip2 subdir-objects
-
- ACLOCAL_AMFLAGS = -I m4
-
diff --git a/libxspf-gcc47.patch b/libxspf-gcc47.patch
deleted file mode 100644
index 00fdf26..0000000
--- a/libxspf-gcc47.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libxspf-1.2.0/examples/read/read.cpp~ 2009-02-21 21:13:25.000000000 +0100
-+++ libxspf-1.2.0/examples/read/read.cpp 2012-11-16 14:41:56.225695017 +0100
-@@ -43,6 +43,7 @@
- #include <cstdio>
- #include <cstdlib> // MAX_PATH
- #include <climits> // PATH_MAX
-+#include <unistd.h>
-
-
- #if defined(__WIN32__) || defined(WIN32)
diff --git a/libxspf-link.patch b/libxspf-link.patch
deleted file mode 100644
index 3650658..0000000
--- a/libxspf-link.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- libspiff-0.7.3/configure.ac.orig 2007-09-14 21:56:40.000000000 +0200
-+++ libspiff-0.7.3/configure.ac 2007-09-15 14:45:09.396937254 +0200
-@@ -87,14 +87,6 @@
-
-
-
--# Append $prefix as a fallback at the very end
--if test "x${prefix}" != "xNONE"; then
-- WORKING_PREFIX=${prefix}
--else
-- WORKING_PREFIX=${ac_default_prefix}
--fi
--LDFLAGS="${LDFLAGS} -L${WORKING_PREFIX}/lib"
--CPPFLAGS="${CPPFLAGS} -I${WORKING_PREFIX}/include"
-
-
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libxspf.git/commitdiff/527fa9ddbec43bbf653f3c9c0d543310a5c4128d
More information about the pld-cvs-commit
mailing list