rpms/xmp/devel mktarball.sh, NONE, 1.1 xmp-nostrip.patch, NONE, 1.1 xmp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dominik Mierzejewski rathann at fedoraproject.org
Tue Nov 11 16:53:01 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/xmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5303

Modified Files:
	.cvsignore sources 
Added Files:
	mktarball.sh xmp-nostrip.patch xmp.spec 
Log Message:
Initial import.



--- NEW FILE mktarball.sh ---
if test -n "$1" ; then
 VERSION="$1"
else
 VERSION=2.5.1
fi
wget http://downloads.sourceforge.net/sourceforge/xmp/xmp-$VERSION.tar.gz && \
tar xzf xmp-$VERSION.tar.gz && \
rm xmp-$VERSION/docs/formats/gdm.txt && \
tar czf xmp-$VERSION-free.tar.gz xmp-$VERSION && \
rm -r xmp-$VERSION && \
rm xmp-$VERSION.tar.gz

xmp-nostrip.patch:

--- NEW FILE xmp-nostrip.patch ---
diff -up xmp-2.5.1/src/main/Makefile.nostrip xmp-2.5.1/src/main/Makefile
--- xmp-2.5.1/src/main/Makefile.nostrip	2007-10-23 01:05:10.000000000 +0200
+++ xmp-2.5.1/src/main/Makefile	2007-12-11 18:45:56.000000000 +0100
@@ -24,7 +24,7 @@ xmp: $(OBJS) main.o $(TOPDIR)/lib/libxmp
 install:: $(BINS)
 	@echo Installing binaries in $(DESTDIR)$(BINDIR)...
 	@[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
-	$(INSTALL) -s -m755 $(BINS) $(DESTDIR)$(BINDIR)
+	$(INSTALL) -m755 $(BINS) $(DESTDIR)$(BINDIR)
 
 $(OBJS): $(TOPDIR)/Makefile.rules Makefile
 
diff -up xmp-2.5.1/src/plugin/Makefile.nostrip xmp-2.5.1/src/plugin/Makefile
--- xmp-2.5.1/src/plugin/Makefile.nostrip	2007-12-03 01:04:13.000000000 +0100
+++ xmp-2.5.1/src/plugin/Makefile	2007-12-11 18:46:21.000000000 +0100
@@ -37,7 +37,7 @@ install-audacious:
 	@DIR="$(DESTDIR)`pkg-config --variable=input_plugin_dir audacious`"; \
 	echo "Installing xmp-audacious.so in $$DIR..."; \
 	[ -d "$$DIR" ] || mkdir -p "$$DIR"; \
-	$(INSTALL) -s -m755 xmp-audacious.so "$$DIR"
+	$(INSTALL) -m755 xmp-audacious.so "$$DIR"
 
 
 #
@@ -57,7 +57,7 @@ install-bmp:
 	@DIR="$(DESTDIR)`pkg-config --variable=input_plugin_dir bmp`"; \
 	echo "Installing xmp-bmp.so in $$DIR..."; \
 	[ -d "$$DIR" ] || mkdir -p "$$DIR"; \
-	$(INSTALL) -s -m755 xmp-bmp.so "$$DIR"
+	$(INSTALL) -m755 xmp-bmp.so "$$DIR"
 
 #
 # XMMS
@@ -76,7 +76,7 @@ install-xmms:
 	@DIR="$(DESTDIR)`xmms-config --input-plugin-dir`"; \
 	echo "Installing xmp-xmms.so in $$DIR..."; \
 	[ -d "$$DIR" ] || mkdir -p "$$DIR"; \
-	$(INSTALL) -s -m755 xmp-xmms.so "$$DIR"
+	$(INSTALL) -m755 xmp-xmms.so "$$DIR"
 
 #
 # Winamp


--- NEW FILE xmp.spec ---
%define audacious_input_plugin_dir %(pkg-config --variable=input_plugin_dir audacious)
%define xmms_input_plugin_dir %(xmms-config --input-plugin-dir)

Name: xmp
Version: 2.5.1
Release: 3%{?dist}
Summary: A multi-format module player
Group: Applications/Multimedia
#Source: http://dl.sourceforge.net/sourceforge/xmp/%{name}-%{version}.tar.gz
#same source as above, with docs/formats/gdm.txt removed
Source: http://rathann.fedorapeople.org/src/xmp/%{name}-%{version}-free.tar.gz
# run this to get the above tarball
Source1: mktarball.sh
Patch0: %{name}-nostrip.patch
License: GPLv2+
URL: http://xmp.sourceforge.net/
Buildrequires: alsa-lib-devel
Buildrequires: audacious-devel
Buildrequires: xmms-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)

%description
The Extended Module Player is a modplayer for Unix-like systems that plays
over 80 mainstream and obscure module formats from Amiga, Atari, Acorn,
Apple IIgs and PC, including Protracker (MOD), Scream Tracker 3 (S3M), Fast
Tracker II (XM) and Impulse Tracker (IT) files.

%package -n audacious-plugin-%{name}
Summary: A xmp plugin for Audacious
Group: Applications/Multimedia
Requires: audacious

%description -n audacious-plugin-%{name}
The Extended Module Player is a modplayer for Unix-like systems that plays
over 80 mainstream and obscure module formats from Amiga, Atari, Acorn,
Apple IIgs and PC, including Protracker (MOD), Scream Tracker 3 (S3M), Fast
Tracker II (XM) and Impulse Tracker (IT) files.

This package contains the xmp plugin for the Audacious media player.

%package -n xmms-%{name}
Summary: A xmp plugin for XMMS
Group: Applications/Multimedia
Requires: xmms

%description -n xmms-%{name}
The Extended Module Player is a modplayer for Unix-like systems that plays
over 80 mainstream and obscure module formats from Amiga, Atari, Acorn,
Apple IIgs and PC, including Protracker (MOD), Scream Tracker 3 (S3M), Fast
Tracker II (XM) and Impulse Tracker (IT) files.

This package contains the xmp plugin for XMMS.


%prep
%setup -q
%patch0 -p1 -b .nostrip
pushd docs
for file in ChangeLog CREDITS ; do
	iconv -f iso8859-1 -t utf8 -o $file.utf $file && touch -r $file $file.utf && mv $file.utf $file
done

%build
%configure \
  --enable-audacious-plugin \
  --enable-xmms-plugin

#parallel make fails
#%{__make} %{?_smp_mflags}
%{__make}

%install
rm -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README docs/COPYING docs/README.* docs/ChangeLog docs/CREDITS
%config(noreplace) %{_sysconfdir}/*
%{_bindir}/*
%{_mandir}/man1/xmp.1*

%files -n audacious-plugin-%{name}
%defattr(-,root,root)
%{audacious_input_plugin_dir}/*

%files -n xmms-%{name}
%defattr(-,root,root)
%{xmms_input_plugin_dir}/*

%changelog
* Mon Oct 13 2008 Dominik Mierzejewski <rpm at greysector.net> 2.5.1-3
- add a script to create the free tarball
- drop workaround for missing audacious-devel Requires:

* Mon Jul 07 2008 Dominik Mierzejewski <rpm at greysector.net> 2.5.1-2
- repackaged source tarball without the OCL-licensed file

* Wed Jun 25 2008 Dominik Mierzejewski <rpm at greysector.net> 2.5.1-1
- initial build based on upstream spec
- disabled stripping upon install
- renamed player plugins to playername(-plugin)-xmp
- worked around missing BRs in audacious-devel in rawhide
- converted non-UTF8 docs


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xmp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Oct 2008 05:24:01 -0000	1.1
+++ .cvsignore	11 Nov 2008 16:52:31 -0000	1.2
@@ -0,0 +1 @@
+xmp-2.5.1-free.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xmp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Oct 2008 05:24:01 -0000	1.1
+++ sources	11 Nov 2008 16:52:31 -0000	1.2
@@ -0,0 +1 @@
+bf44830ae7d82adb346820024a02350e  xmp-2.5.1-free.tar.gz




More information about the fedora-extras-commits mailing list