From 2ce36527278fe8015ced3ea2d302aaaf89eb368c Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 18 Feb 2008 18:17:38 +0000 Subject: [PATCH 01/52] - Autorebuild for GCC 4.3 --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index da7dc19..cb3e0fa 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 +- Autorebuild for GCC 4.3 + * Sun Aug 26 2007 Aurelien Bompard 1.0.0.2-6 - rebuild for BuildID - fix license tag From 68ab9027ad5fc522cc1ff16ac85676f51bc3a639 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 25 Feb 2009 15:52:24 +0000 Subject: [PATCH 02/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index cb3e0fa..83e9fdf 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 - Autorebuild for GCC 4.3 From 83f3afbeb81ff39e177644326c54943cd323dbf5 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 25 Jul 2009 05:57:54 +0000 Subject: [PATCH 03/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 83e9fdf..e69e41d 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From d45310b5aff12afa95256f993b0b55d7c2d12c01 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:51:01 +0000 Subject: [PATCH 04/52] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8211a34..e5b9c26 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := libifp SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 03ec5a4d1261403999d5c9de6b00631afdbc99ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 21:12:55 +0000 Subject: [PATCH 05/52] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index e5b9c26..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: libifp -# $Id$ -NAME := libifp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From ddf9066732e45bbe9647d770452ec790857f2079 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 01:00:13 -0600 Subject: [PATCH 06/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index e69e41d..756e944 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 97cc842a7f68a0aaf8ed4d0576f3b40d812c98e4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 01:53:32 -0600 Subject: [PATCH 07/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 756e944..06252ec 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From f4105fcaf7e74c941bc20bf036636dd2cc0c0991 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 15:09:55 -0500 Subject: [PATCH 08/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 06252ec..ea07565 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From c3aae19099217884cc1b741525711e485350e580 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 22:33:43 -0600 Subject: [PATCH 09/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index ea07565..a28382c 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 30a70d4d73817e8ae1e2488cbb5a75293b0e8e44 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 27 Apr 2013 15:06:28 -0700 Subject: [PATCH 10/52] Fix rh #925775: Build with autoreconf -fiv Static copies of auto-generated scripts are fucking dumb --- libifp.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index a28382c..2c2fffb 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -32,6 +32,7 @@ libifp. %setup -q %build +autoreconf -fiv %configure --with-libusb --disable-static make %{?_smp_mflags} @@ -63,6 +64,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 +- Build with autoreconf -fiv because static copies of auto-generated scripts + are fucking dumb +- Fix rh #925775 + * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 271a2e0841209db0b4cce23545bdd90818b067f3 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 27 Apr 2013 15:14:40 -0700 Subject: [PATCH 11/52] Add missing BR on autoconf --- libifp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libifp.spec b/libifp.spec index 2c2fffb..44264ca 100644 --- a/libifp.spec +++ b/libifp.spec @@ -11,7 +11,9 @@ Source1: libifp.hotplug Source2: 10-libifp.rules BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libusb-devel doxygen +BuildRequires: autoconf +BuildRequires: doxygen +BuildRequires: libusb-devel %description libifp is a general-purpose library-driver for iRiver's iFP (flash-based) @@ -68,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT - Build with autoreconf -fiv because static copies of auto-generated scripts are fucking dumb - Fix rh #925775 +- add BR: autoconf * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -98,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT - update udev rules to newer syntax (bug 246844) * Thu Oct 05 2006 Christian Iseli 1.0.0.2-4 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Fri Sep 22 2006 Aurelien Bompard 1.0.0.2-3 - rebuild From e7de6186ff068b1bc2b1f9933427007c65995e34 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 27 Apr 2013 15:21:43 -0700 Subject: [PATCH 12/52] Add missing BR on automake (fucking autotools...) --- libifp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 44264ca..61c670e 100644 --- a/libifp.spec +++ b/libifp.spec @@ -12,6 +12,7 @@ Source2: 10-libifp.rules BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf +BuildRequires: automake BuildRequires: doxygen BuildRequires: libusb-devel @@ -70,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT - Build with autoreconf -fiv because static copies of auto-generated scripts are fucking dumb - Fix rh #925775 -- add BR: autoconf +- add BR: autoconf, automake * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 70976569d7f3e07b397034b01aabc7ef05d8b457 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 27 Apr 2013 15:31:02 -0700 Subject: [PATCH 13/52] libtool bah --- libifp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 61c670e..4a12da0 100644 --- a/libifp.spec +++ b/libifp.spec @@ -14,6 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen +BuildRequires: libtool BuildRequires: libusb-devel %description @@ -71,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT - Build with autoreconf -fiv because static copies of auto-generated scripts are fucking dumb - Fix rh #925775 -- add BR: autoconf, automake +- add BR: autoconf, automake, libtool * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 22d7f258721a3b889b34c5eb46700573b5a2222d Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 27 Apr 2013 16:02:23 -0700 Subject: [PATCH 14/52] Fix broken configure.in (fucking autotools...) --- libifp-1.0.0.2-fix-broken-configure.in.diff | 70 +++++++++++++++++++++ libifp.spec | 5 ++ 2 files changed, 75 insertions(+) create mode 100644 libifp-1.0.0.2-fix-broken-configure.in.diff diff --git a/libifp-1.0.0.2-fix-broken-configure.in.diff b/libifp-1.0.0.2-fix-broken-configure.in.diff new file mode 100644 index 0000000..49de592 --- /dev/null +++ b/libifp-1.0.0.2-fix-broken-configure.in.diff @@ -0,0 +1,70 @@ +--- configure.in.orig 2005-08-21 19:46:01.000000000 -0700 ++++ configure.in 2013-04-27 15:59:33.668866955 -0700 +@@ -6,54 +6,53 @@ + CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" + ##CFLAGS="-g -O2 -Wall -W" + + AM_INIT_AUTOMAKE(libifp, 1.0.0.2) + AC_PROG_CC + AC_PROG_INSTALL + AC_PROG_LIBTOOL + AC_C_BIGENDIAN + AC_SUBST(LIBTOOL_DEPS) + + dnl AC_DEFINE(IFP_AUTOCONF) + + #----------------------------------------------------------------------- + build_userland=no + dnl --with-libusb=PATH + LIBUSB="" + AC_MSG_CHECKING([libusb]) + AC_ARG_WITH(libusb, + AC_HELP_STRING([--with-libusb=PATH],[libusb path (default /usr)]), + ac_libusb=$enableval, ac_libusb=no) +-if test "x${ac_libusb}" != "xno" ; then +- case ${with_libusb} in +- "" | "yes" | "YES") +- ;; +- "no" | "NO") +- use_libusb=false +- ;; +- *) +- CFLAGS="$CFLAGS -I${with_libusb}/include" +- CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" +- LDFLAGS="$LDFLAGS -L${with_libusb}/lib" +- ;; +- esac +-fi ++case ${with_libusb} in ++ "" | "yes" | "YES") ++ ac_libusb=yes ++ ;; ++ "no" | "NO") ++ use_libusb=false ++ ;; ++ *) ++ CFLAGS="$CFLAGS -I${with_libusb}/include" ++ CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" ++ LDFLAGS="$LDFLAGS -L${with_libusb}/lib" ++ ;; ++esac + AC_MSG_RESULT(done) + + dnl check if libusb is available + if test "x${ac_libusb}" != "xno" ; then + build_userland=yes + AC_CHECK_HEADERS(usb.h, [], + [ AC_MSG_WARN([usb.h not found, use --with-libusb=PATH]) ]; + build_userland=no ) + + ac_save_LIBS="$LIBS" + AC_CHECK_LIB(usb, usb_init, [LIBUSB="$LIBUSB -lusb"], + [ AC_MSG_WARN([libusb not found]) ]; build_userland=no ) + + dnl misc headers needed by the userland library + + AC_CHECK_FUNC(strncasecmp, [], [ AC_MSG_WARN([strncasecmp not found, not building userland library]) ]; + build_userland=no ) + + AC_CHECK_HEADERS(inttypes.h stdio.h sys/types.h wchar.h string.h time.h fts.h iconv.h, + [], [ AC_MSG_WARN([missing header, not building useland library]) ]; build_userland=no) diff --git a/libifp.spec b/libifp.spec index 4a12da0..9e868b9 100644 --- a/libifp.spec +++ b/libifp.spec @@ -9,6 +9,9 @@ URL: http://ifp-driver.sourceforge.net/ Source0: http://dl.sourceforge.net/ifp-driver/%{name}-%{version}.tar.gz Source1: libifp.hotplug Source2: 10-libifp.rules +# autoconf-2.69 breaks configure.in (likely configure.in is the broken part) +# Upstream is dead, so fix it here: +Patch0: libifp-1.0.0.2-fix-broken-configure.in.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf @@ -34,6 +37,7 @@ libifp. %prep %setup -q +%patch0 -p0 %build autoreconf -fiv @@ -73,6 +77,7 @@ rm -rf $RPM_BUILD_ROOT are fucking dumb - Fix rh #925775 - add BR: autoconf, automake, libtool +- Patch configure.in which breaks with newer autotools * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 8714792b7dd2ccfe23cce819aa7d254c2fad68f3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 00:50:51 -0500 Subject: [PATCH 15/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 9e868b9..23c6954 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 - Build with autoreconf -fiv because static copies of auto-generated scripts are fucking dumb From 67744b9b786dbf1ede711f0902c6728e3c4e63a2 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Mon, 28 Oct 2013 11:42:09 -0400 Subject: [PATCH 16/52] libifp: Update Source0 URL --- libifp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libifp.spec b/libifp.spec index 23c6954..67feae3 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,12 +1,12 @@ Name: libifp Version: 1.0.0.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base License: GPLv2 URL: http://ifp-driver.sourceforge.net/ -Source0: http://dl.sourceforge.net/ifp-driver/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz Source1: libifp.hotplug Source2: 10-libifp.rules # autoconf-2.69 breaks configure.in (likely configure.in is the broken part) @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 +- Update Source0 URL (sourceforge broke their download URLs again) + * Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From ac8fed17b29c2d97151b753c2cc45478fbbf8cc3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 22:52:05 -0500 Subject: [PATCH 17/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 67feae3..2159e55 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 16%{?dist} +Release: 17%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 - Update Source0 URL (sourceforge broke their download URLs again) From 6d6cf12d52c19979c6f41cf8659ed96a5ebce5f6 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 03:56:54 +0000 Subject: [PATCH 18/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 2159e55..cad5742 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 39d4af14b9a03736300612a0d7eb6284620a86ba Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 15:50:56 +0000 Subject: [PATCH 19/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index cad5742..728274b 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 81d9506507b2b84a90426005f781ed8618600433 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Thu, 18 Jun 2015 10:15:16 -0700 Subject: [PATCH 20/52] Move udev rules from /etc to /usr/lib (rh #1226691) --- libifp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libifp.spec b/libifp.spec index 728274b..09dd470 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug -install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/10-libifp.rules +install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %clean rm -rf $RPM_BUILD_ROOT @@ -63,7 +63,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_libdir}/*.so.* /sbin/* -%{_sysconfdir}/udev/rules.d/*.rules +%{_udevrulesdir}/*libifp.rules %files devel %defattr(-,root,root,-) @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 +- Move udev rules from /etc to /usr/lib (rh #1226691) + * Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 17c1397c67491528ef8e34a5851b811842ed1e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 Jun 2015 14:38:49 -0400 Subject: [PATCH 21/52] Patch out CFLAGS override which conflicts with hardening flags Also use %license for license file, add systemd as build dependency (needed for udev macros). Remove %defattr, not needed anymore. --- libifp-1.0.0.2-fix-broken-configure-again.diff | 11 +++++++++++ libifp.spec | 11 +++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 libifp-1.0.0.2-fix-broken-configure-again.diff diff --git a/libifp-1.0.0.2-fix-broken-configure-again.diff b/libifp-1.0.0.2-fix-broken-configure-again.diff new file mode 100644 index 0000000..b711b70 --- /dev/null +++ b/libifp-1.0.0.2-fix-broken-configure-again.diff @@ -0,0 +1,11 @@ +--- libifp-1.0.0.2/configure.in~ 2015-06-18 14:21:58.997203024 -0400 ++++ libifp-1.0.0.2/configure.in 2015-06-18 14:27:05.871746393 -0400 +@@ -3,7 +3,7 @@ + #The automake documentation says this is a no-no, but I don't understand + #what the alternative is. + #Commented out until I can find out what the portable alternative is. +-CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" ++#CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" + ##CFLAGS="-g -O2 -Wall -W" + + AM_INIT_AUTOMAKE(libifp, 1.0.0.2) diff --git a/libifp.spec b/libifp.spec index 09dd470..d2a846a 100644 --- a/libifp.spec +++ b/libifp.spec @@ -12,13 +12,14 @@ Source2: 10-libifp.rules # autoconf-2.69 breaks configure.in (likely configure.in is the broken part) # Upstream is dead, so fix it here: Patch0: libifp-1.0.0.2-fix-broken-configure.in.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch1: libifp-1.0.0.2-fix-broken-configure-again.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: libtool BuildRequires: libusb-devel +BuildRequires: systemd %description libifp is a general-purpose library-driver for iRiver's iFP (flash-based) @@ -36,8 +37,7 @@ This package contains headers and libraries for developing apps that use libifp. %prep -%setup -q -%patch0 -p0 +%autosetup %build autoreconf -fiv @@ -58,15 +58,14 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO +%license COPYING +%doc ChangeLog README TODO %{_bindir}/* %{_libdir}/*.so.* /sbin/* %{_udevrulesdir}/*libifp.rules %files devel -%defattr(-,root,root,-) %{_includedir}/*.h %{_libdir}/*.so %{_mandir}/man3/* From 0c3e434352d390072416fdf4a8954d722b15a2ca Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 03:20:23 +0000 Subject: [PATCH 22/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index d2a846a..18ca688 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 20%{?dist} +Release: 21%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 - Move udev rules from /etc to /usr/lib (rh #1226691) From 683fb7a858b2636de6504ae8855bb4a4d86f617b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 18:50:32 +0000 Subject: [PATCH 23/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 18ca688..fc2aee7 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 21%{?dist} +Release: 22%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From d545c2050cfd9c38ba2a7f1138e5b2fcf2391727 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 19:03:00 +0000 Subject: [PATCH 24/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index fc2aee7..fdf858c 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 22%{?dist} +Release: 23%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 2306a4c1d06380b5a9a3b0ce5d76092da63d7a3f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 01:38:57 +0000 Subject: [PATCH 25/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index fdf858c..cfc58cf 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 23%{?dist} +Release: 24%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 06c32e2dac28295d5de431628205ddb6cfb7ac70 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 21:56:15 +0000 Subject: [PATCH 26/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index cfc58cf..b69deec 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 24%{?dist} +Release: 25%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 5515bdee883a8820356e840185aaedeeb26e91de Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:13:32 +0100 Subject: [PATCH 27/52] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- libifp.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/libifp.spec b/libifp.spec index b69deec..2a3ceda 100644 --- a/libifp.spec +++ b/libifp.spec @@ -51,9 +51,6 @@ find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig From 1848fcc6e959d7535d2f069dfb4fc81bce192942 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 08:15:32 +0000 Subject: [PATCH 28/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 2a3ceda..0156416 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 25%{?dist} +Release: 26%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players Group: System Environment/Base @@ -68,6 +68,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 246e81d8757345a52a3299885e3b08b8897b5972 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:48 +0100 Subject: [PATCH 29/52] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libifp.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libifp.spec b/libifp.spec index 0156416..ea53553 100644 --- a/libifp.spec +++ b/libifp.spec @@ -51,8 +51,7 @@ find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING From 7294856dbdd219f8434caa8d65621ffaab0616c7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:51 +0100 Subject: [PATCH 30/52] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- libifp.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/libifp.spec b/libifp.spec index ea53553..3508c8c 100644 --- a/libifp.spec +++ b/libifp.spec @@ -3,7 +3,6 @@ Version: 1.0.0.2 Release: 26%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players -Group: System Environment/Base License: GPLv2 URL: http://ifp-driver.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz @@ -29,7 +28,6 @@ Also included is a console app that uses the library. %package devel Summary: Headers and libraries for developing with libifp -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel From 0d79a459e0f5278859ebd94fa6c36b25ef365746 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 07:22:20 +0000 Subject: [PATCH 31/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 3508c8c..d02d69c 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 26%{?dist} +Release: 27%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -65,6 +65,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From c9a108da564f2d41b5c85588655def92d803ddab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 13:30:52 +0000 Subject: [PATCH 32/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index d02d69c..42471d9 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 27%{?dist} +Release: 28%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -65,6 +65,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 78989f115dd4b8af5084387287d9daca067d3f68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 09:24:06 +0000 Subject: [PATCH 33/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 42471d9..ce57179 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 28%{?dist} +Release: 29%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -65,6 +65,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From b5c9dc9de4b712e80b87bd6912d0878613a59b17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 04:52:00 +0000 Subject: [PATCH 34/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index ce57179..bb730fb 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 29%{?dist} +Release: 30%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -65,6 +65,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From f2b6312add97b617671ad23996db70494ba1f52c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 5 Jan 2021 02:01:55 +0000 Subject: [PATCH 35/52] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- libifp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libifp.spec b/libifp.spec index bb730fb..e29b373 100644 --- a/libifp.spec +++ b/libifp.spec @@ -19,6 +19,7 @@ BuildRequires: doxygen BuildRequires: libtool BuildRequires: libusb-devel BuildRequires: systemd +BuildRequires: make %description libifp is a general-purpose library-driver for iRiver's iFP (flash-based) From 0967a394a4fd7af5db8a7bd17e1626169037ec4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 17:16:55 +0000 Subject: [PATCH 36/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index e29b373..4f52919 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 30%{?dist} +Release: 31%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 25efe355aff61567316951c4149128704bacc654 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 11:36:18 +0000 Subject: [PATCH 37/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 4f52919..2d68e72 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 31%{?dist} +Release: 32%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 07840ff3a94d7c551b5379af3f08b0ea4a021bac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 16:27:13 +0000 Subject: [PATCH 38/52] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 2d68e72..f66f642 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 32%{?dist} +Release: 33%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 083a560348de202c3d7ef9c125d08c71b52f0433 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 18:04:38 +0000 Subject: [PATCH 39/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index f66f642..375ef70 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 33%{?dist} +Release: 34%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From ec58575e63d083ddce46fd541983c222c5985f36 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 16:35:11 +0000 Subject: [PATCH 40/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 375ef70..1b2715d 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 34%{?dist} +Release: 35%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 1ff0d33c4ce3b1fdb837155e7fd6eeb21bd1983c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 11:08:57 +0000 Subject: [PATCH 41/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libifp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index 1b2715d..1131bc6 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 35%{?dist} +Release: 36%{?dist} Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,6 +66,9 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.0.0.2-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From d0c079461e7192dfe2d4bc5db248ce744a9cf805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 2 Aug 2023 00:37:22 +0200 Subject: [PATCH 42/52] Retired: Long term failure to build --- .gitignore | 1 - 10-libifp.rules | 2 - dead.package | 1 + ...fp-1.0.0.2-fix-broken-configure-again.diff | 11 - libifp-1.0.0.2-fix-broken-configure.in.diff | 70 ------- libifp.hotplug | 50 ----- libifp.spec | 190 ------------------ sources | 1 - 8 files changed, 1 insertion(+), 325 deletions(-) delete mode 100644 .gitignore delete mode 100644 10-libifp.rules create mode 100644 dead.package delete mode 100644 libifp-1.0.0.2-fix-broken-configure-again.diff delete mode 100644 libifp-1.0.0.2-fix-broken-configure.in.diff delete mode 100644 libifp.hotplug delete mode 100644 libifp.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5209fc7..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -libifp-1.0.0.2.tar.gz diff --git a/10-libifp.rules b/10-libifp.rules deleted file mode 100644 index 08cb1ab..0000000 --- a/10-libifp.rules +++ /dev/null @@ -1,2 +0,0 @@ -ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="4102", ATTRS{idProduct}=="100[135789]", RUN+="/sbin/libifp-hotplug" -ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="4102", ATTRS{idProduct}=="101[01]", RUN+="/sbin/libifp-hotplug" diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..ab7426e --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retired: Long term failure to build diff --git a/libifp-1.0.0.2-fix-broken-configure-again.diff b/libifp-1.0.0.2-fix-broken-configure-again.diff deleted file mode 100644 index b711b70..0000000 --- a/libifp-1.0.0.2-fix-broken-configure-again.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- libifp-1.0.0.2/configure.in~ 2015-06-18 14:21:58.997203024 -0400 -+++ libifp-1.0.0.2/configure.in 2015-06-18 14:27:05.871746393 -0400 -@@ -3,7 +3,7 @@ - #The automake documentation says this is a no-no, but I don't understand - #what the alternative is. - #Commented out until I can find out what the portable alternative is. --CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" -+#CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" - ##CFLAGS="-g -O2 -Wall -W" - - AM_INIT_AUTOMAKE(libifp, 1.0.0.2) diff --git a/libifp-1.0.0.2-fix-broken-configure.in.diff b/libifp-1.0.0.2-fix-broken-configure.in.diff deleted file mode 100644 index 49de592..0000000 --- a/libifp-1.0.0.2-fix-broken-configure.in.diff +++ /dev/null @@ -1,70 +0,0 @@ ---- configure.in.orig 2005-08-21 19:46:01.000000000 -0700 -+++ configure.in 2013-04-27 15:59:33.668866955 -0700 -@@ -6,54 +6,53 @@ - CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" - ##CFLAGS="-g -O2 -Wall -W" - - AM_INIT_AUTOMAKE(libifp, 1.0.0.2) - AC_PROG_CC - AC_PROG_INSTALL - AC_PROG_LIBTOOL - AC_C_BIGENDIAN - AC_SUBST(LIBTOOL_DEPS) - - dnl AC_DEFINE(IFP_AUTOCONF) - - #----------------------------------------------------------------------- - build_userland=no - dnl --with-libusb=PATH - LIBUSB="" - AC_MSG_CHECKING([libusb]) - AC_ARG_WITH(libusb, - AC_HELP_STRING([--with-libusb=PATH],[libusb path (default /usr)]), - ac_libusb=$enableval, ac_libusb=no) --if test "x${ac_libusb}" != "xno" ; then -- case ${with_libusb} in -- "" | "yes" | "YES") -- ;; -- "no" | "NO") -- use_libusb=false -- ;; -- *) -- CFLAGS="$CFLAGS -I${with_libusb}/include" -- CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" -- LDFLAGS="$LDFLAGS -L${with_libusb}/lib" -- ;; -- esac --fi -+case ${with_libusb} in -+ "" | "yes" | "YES") -+ ac_libusb=yes -+ ;; -+ "no" | "NO") -+ use_libusb=false -+ ;; -+ *) -+ CFLAGS="$CFLAGS -I${with_libusb}/include" -+ CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" -+ LDFLAGS="$LDFLAGS -L${with_libusb}/lib" -+ ;; -+esac - AC_MSG_RESULT(done) - - dnl check if libusb is available - if test "x${ac_libusb}" != "xno" ; then - build_userland=yes - AC_CHECK_HEADERS(usb.h, [], - [ AC_MSG_WARN([usb.h not found, use --with-libusb=PATH]) ]; - build_userland=no ) - - ac_save_LIBS="$LIBS" - AC_CHECK_LIB(usb, usb_init, [LIBUSB="$LIBUSB -lusb"], - [ AC_MSG_WARN([libusb not found]) ]; build_userland=no ) - - dnl misc headers needed by the userland library - - AC_CHECK_FUNC(strncasecmp, [], [ AC_MSG_WARN([strncasecmp not found, not building userland library]) ]; - build_userland=no ) - - AC_CHECK_HEADERS(inttypes.h stdio.h sys/types.h wchar.h string.h time.h fts.h iconv.h, - [], [ AC_MSG_WARN([missing header, not building useland library]) ]; build_userland=no) diff --git a/libifp.hotplug b/libifp.hotplug deleted file mode 100644 index 4f03e51..0000000 --- a/libifp.hotplug +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# -# /sbin/libifp-hotplug -# -# Cloned off the usbcam hotplug script that is shipped by -# Red Hat with gphoto2. In principle we could just call that one, -# but it's ugly to depend on a camera driver in order to talk -# to an audio player... -# -# Sets up newly plugged-in iRiver iFP device so that the user who owns -# the console according to pam_console can access it from user space -# -# Note that for this script to work, you'll need all of the following: -# a) a line in the file /etc/hotplug/usb/libifp.usermap that corresponds -# to the iFP device you are using. -# b) a setup using pam_console creates the respective lock files -# containing the name of the respective user. You can check for that -# by executing "echo `cat /var/{run,lock}/console.lock`" and -# verifying the appropriate user is mentioned somewhere there. -# c) a Linux kernel supporting hotplug and usbdevfs -# d) the hotplug package (http://linux-hotplug.sourceforge.net/) -# -# All of the above are expected to be true on recent Red Hat and Fedora -# distributions in the default install. -# -# In the usermap file, the first field "usb module" should be named -# "libifp" like this script. -# - -if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] -then - # New code, using lock files instead of copying /dev/console permissions - # This also works with non-gdm logins (e.g. on a virtual terminal) - # Idea and code from Nalin Dahyabhai - if [ -f /var/run/console/console.lock ] - then - CONSOLEOWNER=`cat /var/run/console/console.lock` - elif [ -f /var/lock/console.lock ] - then - CONSOLEOWNER=`cat /var/lock/console.lock` - else - CONSOLEOWNER= - fi - if [ -n "$CONSOLEOWNER" ] - then - chmod 0000 "${DEVICE}" - chown "$CONSOLEOWNER" "${DEVICE}" - chmod 0600 "${DEVICE}" - fi -fi diff --git a/libifp.spec b/libifp.spec deleted file mode 100644 index 1131bc6..0000000 --- a/libifp.spec +++ /dev/null @@ -1,190 +0,0 @@ -Name: libifp -Version: 1.0.0.2 -Release: 36%{?dist} -Summary: A general-purpose library-driver for iRiver's iFP portable audio players - -License: GPLv2 -URL: http://ifp-driver.sourceforge.net/ -Source0: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz -Source1: libifp.hotplug -Source2: 10-libifp.rules -# autoconf-2.69 breaks configure.in (likely configure.in is the broken part) -# Upstream is dead, so fix it here: -Patch0: libifp-1.0.0.2-fix-broken-configure.in.diff -Patch1: libifp-1.0.0.2-fix-broken-configure-again.diff - -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: doxygen -BuildRequires: libtool -BuildRequires: libusb-devel -BuildRequires: systemd -BuildRequires: make - -%description -libifp is a general-purpose library-driver for iRiver's iFP (flash-based) -portable audio players. The source code is pure C and is fairly portable. - -Also included is a console app that uses the library. - -%package devel -Summary: Headers and libraries for developing with libifp -Requires: %{name} = %{version}-%{release} - -%description devel -This package contains headers and libraries for developing apps that use -libifp. - -%prep -%autosetup - -%build -autoreconf -fiv -%configure --with-libusb --disable-static -make %{?_smp_mflags} - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; -install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug -install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules - -%ldconfig_scriptlets - -%files -%license COPYING -%doc ChangeLog README TODO -%{_bindir}/* -%{_libdir}/*.so.* -/sbin/* -%{_udevrulesdir}/*libifp.rules - -%files devel -%{_includedir}/*.h -%{_libdir}/*.so -%{_mandir}/man3/* - -%changelog -* Thu Jul 20 2023 Fedora Release Engineering - 1.0.0.2-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 -- Move udev rules from /etc to /usr/lib (rh #1226691) - -* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 -- Update Source0 URL (sourceforge broke their download URLs again) - -* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 -- Build with autoreconf -fiv because static copies of auto-generated scripts - are fucking dumb -- Fix rh #925775 -- add BR: autoconf, automake, libtool -- Patch configure.in which breaks with newer autotools - -* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 -- Autorebuild for GCC 4.3 - -* Sun Aug 26 2007 Aurelien Bompard 1.0.0.2-6 -- rebuild for BuildID -- fix license tag - -* Thu Jul 05 2007 Aurelien Bompard 1.0.0.2-5 -- update udev rules to newer syntax (bug 246844) - -* Thu Oct 05 2006 Christian Iseli 1.0.0.2-4 -- rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Fri Sep 22 2006 Aurelien Bompard 1.0.0.2-3 -- rebuild - -* Mon Feb 13 2006 Ignacio Vazquez-Abrams 1.0.0.2-2 -- Rebuild for Fedora Extras 5 - -* Mon Aug 22 2005 Ignacio Vazquez-Abrams 1.0.0.2-1 -- Upstream update -- Disabled build of static libraries - -* Thu Jul 14 2005 Ignacio Vazquez-Abrams 1.0.0.1-2 -- Modified for new udev - -* Thu Jul 7 2005 Ignacio Vazquez-Abrams -- Added Per Bjornsson's hotplug files - -* Wed Jun 29 2005 Ignacio Vazquez-Abrams 1.0.0.1-1 -- Initial RPM release diff --git a/sources b/sources deleted file mode 100644 index 29d33db..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -d4114794b13bd32b6b767e0870df6fc4 libifp-1.0.0.2.tar.gz From 673e9247ccda049bc6458b0acffb020f64131ad6 Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Mon, 7 Aug 2023 10:57:59 +0200 Subject: [PATCH 43/52] Unretirement request: https://pagure.io/releng/issue/11590 --- .gitignore | 1 + 10-libifp.rules | 2 + dead.package | 1 - ...fp-1.0.0.2-fix-broken-configure-again.diff | 11 + libifp-1.0.0.2-fix-broken-configure.in.diff | 70 +++++++ libifp.hotplug | 50 +++++ libifp.spec | 190 ++++++++++++++++++ sources | 1 + 8 files changed, 325 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 10-libifp.rules delete mode 100644 dead.package create mode 100644 libifp-1.0.0.2-fix-broken-configure-again.diff create mode 100644 libifp-1.0.0.2-fix-broken-configure.in.diff create mode 100644 libifp.hotplug create mode 100644 libifp.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5209fc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +libifp-1.0.0.2.tar.gz diff --git a/10-libifp.rules b/10-libifp.rules new file mode 100644 index 0000000..08cb1ab --- /dev/null +++ b/10-libifp.rules @@ -0,0 +1,2 @@ +ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="4102", ATTRS{idProduct}=="100[135789]", RUN+="/sbin/libifp-hotplug" +ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="4102", ATTRS{idProduct}=="101[01]", RUN+="/sbin/libifp-hotplug" diff --git a/dead.package b/dead.package deleted file mode 100644 index ab7426e..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Retired: Long term failure to build diff --git a/libifp-1.0.0.2-fix-broken-configure-again.diff b/libifp-1.0.0.2-fix-broken-configure-again.diff new file mode 100644 index 0000000..b711b70 --- /dev/null +++ b/libifp-1.0.0.2-fix-broken-configure-again.diff @@ -0,0 +1,11 @@ +--- libifp-1.0.0.2/configure.in~ 2015-06-18 14:21:58.997203024 -0400 ++++ libifp-1.0.0.2/configure.in 2015-06-18 14:27:05.871746393 -0400 +@@ -3,7 +3,7 @@ + #The automake documentation says this is a no-no, but I don't understand + #what the alternative is. + #Commented out until I can find out what the portable alternative is. +-CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" ++#CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" + ##CFLAGS="-g -O2 -Wall -W" + + AM_INIT_AUTOMAKE(libifp, 1.0.0.2) diff --git a/libifp-1.0.0.2-fix-broken-configure.in.diff b/libifp-1.0.0.2-fix-broken-configure.in.diff new file mode 100644 index 0000000..49de592 --- /dev/null +++ b/libifp-1.0.0.2-fix-broken-configure.in.diff @@ -0,0 +1,70 @@ +--- configure.in.orig 2005-08-21 19:46:01.000000000 -0700 ++++ configure.in 2013-04-27 15:59:33.668866955 -0700 +@@ -6,54 +6,53 @@ + CFLAGS="-g -O2 -Wall -W -Wno-unused-parameter" + ##CFLAGS="-g -O2 -Wall -W" + + AM_INIT_AUTOMAKE(libifp, 1.0.0.2) + AC_PROG_CC + AC_PROG_INSTALL + AC_PROG_LIBTOOL + AC_C_BIGENDIAN + AC_SUBST(LIBTOOL_DEPS) + + dnl AC_DEFINE(IFP_AUTOCONF) + + #----------------------------------------------------------------------- + build_userland=no + dnl --with-libusb=PATH + LIBUSB="" + AC_MSG_CHECKING([libusb]) + AC_ARG_WITH(libusb, + AC_HELP_STRING([--with-libusb=PATH],[libusb path (default /usr)]), + ac_libusb=$enableval, ac_libusb=no) +-if test "x${ac_libusb}" != "xno" ; then +- case ${with_libusb} in +- "" | "yes" | "YES") +- ;; +- "no" | "NO") +- use_libusb=false +- ;; +- *) +- CFLAGS="$CFLAGS -I${with_libusb}/include" +- CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" +- LDFLAGS="$LDFLAGS -L${with_libusb}/lib" +- ;; +- esac +-fi ++case ${with_libusb} in ++ "" | "yes" | "YES") ++ ac_libusb=yes ++ ;; ++ "no" | "NO") ++ use_libusb=false ++ ;; ++ *) ++ CFLAGS="$CFLAGS -I${with_libusb}/include" ++ CPPFLAGS="$CPPFLAGS -I${with_libusb}/include" ++ LDFLAGS="$LDFLAGS -L${with_libusb}/lib" ++ ;; ++esac + AC_MSG_RESULT(done) + + dnl check if libusb is available + if test "x${ac_libusb}" != "xno" ; then + build_userland=yes + AC_CHECK_HEADERS(usb.h, [], + [ AC_MSG_WARN([usb.h not found, use --with-libusb=PATH]) ]; + build_userland=no ) + + ac_save_LIBS="$LIBS" + AC_CHECK_LIB(usb, usb_init, [LIBUSB="$LIBUSB -lusb"], + [ AC_MSG_WARN([libusb not found]) ]; build_userland=no ) + + dnl misc headers needed by the userland library + + AC_CHECK_FUNC(strncasecmp, [], [ AC_MSG_WARN([strncasecmp not found, not building userland library]) ]; + build_userland=no ) + + AC_CHECK_HEADERS(inttypes.h stdio.h sys/types.h wchar.h string.h time.h fts.h iconv.h, + [], [ AC_MSG_WARN([missing header, not building useland library]) ]; build_userland=no) diff --git a/libifp.hotplug b/libifp.hotplug new file mode 100644 index 0000000..4f03e51 --- /dev/null +++ b/libifp.hotplug @@ -0,0 +1,50 @@ +#!/bin/bash +# +# /sbin/libifp-hotplug +# +# Cloned off the usbcam hotplug script that is shipped by +# Red Hat with gphoto2. In principle we could just call that one, +# but it's ugly to depend on a camera driver in order to talk +# to an audio player... +# +# Sets up newly plugged-in iRiver iFP device so that the user who owns +# the console according to pam_console can access it from user space +# +# Note that for this script to work, you'll need all of the following: +# a) a line in the file /etc/hotplug/usb/libifp.usermap that corresponds +# to the iFP device you are using. +# b) a setup using pam_console creates the respective lock files +# containing the name of the respective user. You can check for that +# by executing "echo `cat /var/{run,lock}/console.lock`" and +# verifying the appropriate user is mentioned somewhere there. +# c) a Linux kernel supporting hotplug and usbdevfs +# d) the hotplug package (http://linux-hotplug.sourceforge.net/) +# +# All of the above are expected to be true on recent Red Hat and Fedora +# distributions in the default install. +# +# In the usermap file, the first field "usb module" should be named +# "libifp" like this script. +# + +if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] +then + # New code, using lock files instead of copying /dev/console permissions + # This also works with non-gdm logins (e.g. on a virtual terminal) + # Idea and code from Nalin Dahyabhai + if [ -f /var/run/console/console.lock ] + then + CONSOLEOWNER=`cat /var/run/console/console.lock` + elif [ -f /var/lock/console.lock ] + then + CONSOLEOWNER=`cat /var/lock/console.lock` + else + CONSOLEOWNER= + fi + if [ -n "$CONSOLEOWNER" ] + then + chmod 0000 "${DEVICE}" + chown "$CONSOLEOWNER" "${DEVICE}" + chmod 0600 "${DEVICE}" + fi +fi diff --git a/libifp.spec b/libifp.spec new file mode 100644 index 0000000..1131bc6 --- /dev/null +++ b/libifp.spec @@ -0,0 +1,190 @@ +Name: libifp +Version: 1.0.0.2 +Release: 36%{?dist} +Summary: A general-purpose library-driver for iRiver's iFP portable audio players + +License: GPLv2 +URL: http://ifp-driver.sourceforge.net/ +Source0: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz +Source1: libifp.hotplug +Source2: 10-libifp.rules +# autoconf-2.69 breaks configure.in (likely configure.in is the broken part) +# Upstream is dead, so fix it here: +Patch0: libifp-1.0.0.2-fix-broken-configure.in.diff +Patch1: libifp-1.0.0.2-fix-broken-configure-again.diff + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: doxygen +BuildRequires: libtool +BuildRequires: libusb-devel +BuildRequires: systemd +BuildRequires: make + +%description +libifp is a general-purpose library-driver for iRiver's iFP (flash-based) +portable audio players. The source code is pure C and is fairly portable. + +Also included is a console app that uses the library. + +%package devel +Summary: Headers and libraries for developing with libifp +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains headers and libraries for developing apps that use +libifp. + +%prep +%autosetup + +%build +autoreconf -fiv +%configure --with-libusb --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; +install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug +install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules + +%ldconfig_scriptlets + +%files +%license COPYING +%doc ChangeLog README TODO +%{_bindir}/* +%{_libdir}/*.so.* +/sbin/* +%{_udevrulesdir}/*libifp.rules + +%files devel +%{_includedir}/*.h +%{_libdir}/*.so +%{_mandir}/man3/* + +%changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.0.0.2-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 +- Move udev rules from /etc to /usr/lib (rh #1226691) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 +- Update Source0 URL (sourceforge broke their download URLs again) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 +- Build with autoreconf -fiv because static copies of auto-generated scripts + are fucking dumb +- Fix rh #925775 +- add BR: autoconf, automake, libtool +- Patch configure.in which breaks with newer autotools + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 +- Autorebuild for GCC 4.3 + +* Sun Aug 26 2007 Aurelien Bompard 1.0.0.2-6 +- rebuild for BuildID +- fix license tag + +* Thu Jul 05 2007 Aurelien Bompard 1.0.0.2-5 +- update udev rules to newer syntax (bug 246844) + +* Thu Oct 05 2006 Christian Iseli 1.0.0.2-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Fri Sep 22 2006 Aurelien Bompard 1.0.0.2-3 +- rebuild + +* Mon Feb 13 2006 Ignacio Vazquez-Abrams 1.0.0.2-2 +- Rebuild for Fedora Extras 5 + +* Mon Aug 22 2005 Ignacio Vazquez-Abrams 1.0.0.2-1 +- Upstream update +- Disabled build of static libraries + +* Thu Jul 14 2005 Ignacio Vazquez-Abrams 1.0.0.1-2 +- Modified for new udev + +* Thu Jul 7 2005 Ignacio Vazquez-Abrams +- Added Per Bjornsson's hotplug files + +* Wed Jun 29 2005 Ignacio Vazquez-Abrams 1.0.0.1-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..29d33db --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d4114794b13bd32b6b767e0870df6fc4 libifp-1.0.0.2.tar.gz From 5396a73961efc9a01bbedb3c938335fc297c0bae Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 7 Aug 2023 16:41:27 +0200 Subject: [PATCH 44/52] Convert to rpmautospec --- changelog | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++ libifp.spec | 125 +--------------------------------------------------- 2 files changed, 124 insertions(+), 123 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..e5565fa --- /dev/null +++ b/changelog @@ -0,0 +1,122 @@ +* Thu Jul 20 2023 Fedora Release Engineering - 1.0.0.2-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 +- Move udev rules from /etc to /usr/lib (rh #1226691) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 +- Update Source0 URL (sourceforge broke their download URLs again) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 +- Build with autoreconf -fiv because static copies of auto-generated scripts + are fucking dumb +- Fix rh #925775 +- add BR: autoconf, automake, libtool +- Patch configure.in which breaks with newer autotools + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 +- Autorebuild for GCC 4.3 + +* Sun Aug 26 2007 Aurelien Bompard 1.0.0.2-6 +- rebuild for BuildID +- fix license tag + +* Thu Jul 05 2007 Aurelien Bompard 1.0.0.2-5 +- update udev rules to newer syntax (bug 246844) + +* Thu Oct 05 2006 Christian Iseli 1.0.0.2-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Fri Sep 22 2006 Aurelien Bompard 1.0.0.2-3 +- rebuild + +* Mon Feb 13 2006 Ignacio Vazquez-Abrams 1.0.0.2-2 +- Rebuild for Fedora Extras 5 + +* Mon Aug 22 2005 Ignacio Vazquez-Abrams 1.0.0.2-1 +- Upstream update +- Disabled build of static libraries + +* Thu Jul 14 2005 Ignacio Vazquez-Abrams 1.0.0.1-2 +- Modified for new udev + +* Thu Jul 7 2005 Ignacio Vazquez-Abrams +- Added Per Bjornsson's hotplug files + +* Wed Jun 29 2005 Ignacio Vazquez-Abrams 1.0.0.1-1 +- Initial RPM release diff --git a/libifp.spec b/libifp.spec index 1131bc6..c691c7a 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,6 +1,6 @@ Name: libifp Version: 1.0.0.2 -Release: 36%{?dist} +Release: %autorelease Summary: A general-purpose library-driver for iRiver's iFP portable audio players License: GPLv2 @@ -66,125 +66,4 @@ install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules %{_mandir}/man3/* %changelog -* Thu Jul 20 2023 Fedora Release Engineering - 1.0.0.2-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 1.0.0.2-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 1.0.0.2-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 1.0.0.2-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0.2-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0.2-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0.2-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0.2-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0.2-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0.2-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0.2-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0.2-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0.2-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0.2-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0.2-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0.2-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Conrad Meyer - 1.0.0.2-20 -- Move udev rules from /etc to /usr/lib (rh #1226691) - -* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0.2-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0.2-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0.2-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Oct 28 2013 Conrad Meyer - 1.0.0.2-16 -- Update Source0 URL (sourceforge broke their download URLs again) - -* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Apr 27 2013 Conrad Meyer - 1.0.0.2-14 -- Build with autoreconf -fiv because static copies of auto-generated scripts - are fucking dumb -- Fix rh #925775 -- add BR: autoconf, automake, libtool -- Patch configure.in which breaks with newer autotools - -* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0.2-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Feb 08 2011 Fedora Release Engineering - 1.0.0.2-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 1.0.0.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 1.0.0.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0.2-7 -- Autorebuild for GCC 4.3 - -* Sun Aug 26 2007 Aurelien Bompard 1.0.0.2-6 -- rebuild for BuildID -- fix license tag - -* Thu Jul 05 2007 Aurelien Bompard 1.0.0.2-5 -- update udev rules to newer syntax (bug 246844) - -* Thu Oct 05 2006 Christian Iseli 1.0.0.2-4 -- rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Fri Sep 22 2006 Aurelien Bompard 1.0.0.2-3 -- rebuild - -* Mon Feb 13 2006 Ignacio Vazquez-Abrams 1.0.0.2-2 -- Rebuild for Fedora Extras 5 - -* Mon Aug 22 2005 Ignacio Vazquez-Abrams 1.0.0.2-1 -- Upstream update -- Disabled build of static libraries - -* Thu Jul 14 2005 Ignacio Vazquez-Abrams 1.0.0.1-2 -- Modified for new udev - -* Thu Jul 7 2005 Ignacio Vazquez-Abrams -- Added Per Bjornsson's hotplug files - -* Wed Jun 29 2005 Ignacio Vazquez-Abrams 1.0.0.1-1 -- Initial RPM release +%autochangelog From aac47d38e66b9bd2bd7220ea4fecde42141280f5 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 7 Aug 2023 16:42:15 +0200 Subject: [PATCH 45/52] Update libusb BR to libusb-compat-0.1-devel; Fixes: RHBZ#2113482 --- libifp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libifp.spec b/libifp.spec index c691c7a..24cde45 100644 --- a/libifp.spec +++ b/libifp.spec @@ -17,10 +17,11 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: libtool -BuildRequires: libusb-devel BuildRequires: systemd BuildRequires: make +BuildRequires: libusb-compat-0.1-devel + %description libifp is a general-purpose library-driver for iRiver's iFP (flash-based) portable audio players. The source code is pure C and is fairly portable. From f3ecc42db06b6f306291e6b68ef9f9e7563713bd Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 7 Aug 2023 16:43:51 +0200 Subject: [PATCH 46/52] Rework specfile to follow the latest packaging guidelines; Fixes: RHBZ#2229155 --- libifp.spec | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/libifp.spec b/libifp.spec index 24cde45..8f649f5 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,24 +1,24 @@ Name: libifp Version: 1.0.0.2 Release: %autorelease -Summary: A general-purpose library-driver for iRiver's iFP portable audio players +Summary: General-purpose library-driver for iRiver's iFP portable audio players -License: GPLv2 +License: GPL-2.0-only URL: http://ifp-driver.sourceforge.net/ -Source0: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz -Source1: libifp.hotplug -Source2: 10-libifp.rules +Source: http://downloads.sourceforge.net/project/ifp-driver/%{name}/%{version}-stable/%{name}-%{version}.tar.gz +Source: libifp.hotplug +Source: 10-libifp.rules # autoconf-2.69 breaks configure.in (likely configure.in is the broken part) # Upstream is dead, so fix it here: -Patch0: libifp-1.0.0.2-fix-broken-configure.in.diff -Patch1: libifp-1.0.0.2-fix-broken-configure-again.diff +Patch: libifp-1.0.0.2-fix-broken-configure.in.diff +Patch: libifp-1.0.0.2-fix-broken-configure-again.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: libtool +BuildRequires: make BuildRequires: systemd -BuildRequires: make BuildRequires: libusb-compat-0.1-devel @@ -42,29 +42,26 @@ libifp. %build autoreconf -fiv %configure --with-libusb --disable-static -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; -install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug -install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_udevrulesdir}/10-libifp.rules +%make_install -%ldconfig_scriptlets +install -Dpm 0755 %{SOURCE1} %{buildroot}/sbin/libifp-hotplug +install -Dpm 0644 %{SOURCE2} %{buildroot}%{_udevrulesdir}/10-libifp.rules %files %license COPYING %doc ChangeLog README TODO -%{_bindir}/* -%{_libdir}/*.so.* -/sbin/* -%{_udevrulesdir}/*libifp.rules +%{_bindir}/ifpline +%{_libdir}/libifp.so.4* +/sbin/libifp-hotplug +%{_udevrulesdir}/10-libifp.rules %files devel -%{_includedir}/*.h -%{_libdir}/*.so -%{_mandir}/man3/* +%{_includedir}/ifp.h +%{_libdir}/libifp.so +%{_mandir}/man3/ifp.h.3* %changelog %autochangelog From 86a68ee61f9f31b5a16ef60b5928ab206f717afb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 04:20:55 +0000 Subject: [PATCH 47/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 457bf1c8cec3d5e3bf624a5ef0291e3abc55d022 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 02:29:16 +0000 Subject: [PATCH 48/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From a987208697782a92e2829d833b3281a6b791b664 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 25 Jan 2024 09:10:24 -0800 Subject: [PATCH 49/52] Relax build type safety to fix FTBFS --- libifp.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libifp.spec b/libifp.spec index 8f649f5..f8e5fe0 100644 --- a/libifp.spec +++ b/libifp.spec @@ -1,3 +1,6 @@ +# Relax due to incompatible pointer issues +%global build_type_safety_c 2 + Name: libifp Version: 1.0.0.2 Release: %autorelease From b06cf3aa49d8228f18732e1f978be16729f524fe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 14:08:09 +0000 Subject: [PATCH 50/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 80f8497a01f5c2ac310376cca118b09fb8a12c06 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 11:32:23 +0000 Subject: [PATCH 51/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2ba8dbf7606f8cf9b7a2fc1dab90391f00878ef9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:48:27 +0000 Subject: [PATCH 52/52] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild