SPECS: xmcd.spec - updated to 3.3.2 - pass CC, CFLAGS - BR: flac-d...
adamg
adamg at pld-linux.org
Fri May 12 21:57:35 CEST 2006
Author: adamg Date: Fri May 12 19:57:35 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 3.3.2
- pass CC, CFLAGS
- BR: flac-devel, sed
- cosmetics
---- Files affected:
SPECS:
xmcd.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/xmcd.spec
diff -u SPECS/xmcd.spec:1.11 SPECS/xmcd.spec:1.12
--- SPECS/xmcd.spec:1.11 Mon Aug 11 15:59:44 2003
+++ SPECS/xmcd.spec Fri May 12 21:57:29 2006
@@ -1,18 +1,22 @@
# $Revision$, $Date$
+# TODO:
+# - make xmcd work (cda is ok)
Summary: Motif (tm) CD Audio Player
Summary(pl): Odtwarzacz CD
Name: xmcd
-Version: 3.2.0
+Version: 3.3.2
Release: 1
License: GPL
Group: X11/Applications/Sound
Source0: http://www.ibiblio.org/tkan/download/xmcd/%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: 3bed299c7e3e81f0f6ff40bfe45f72e6
-URL: http://www.ibiblio.org/tkan/xmcd/main.html
+# Source0-md5: 8808c754db69b1d6eca060c2a6d1be99
+URL: http://www.amb.org/xmcd/
Patch0: %{name}-Imakefile-motif.patch
Patch1: %{name}-install.sh-nonroot.patch
BuildRequires: XFree86-devel
+BuildRequires: flac-devel
BuildRequires: motif-devel
+BuildRequires: sed >= 4.0.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _libdir /usr/X11R6/lib/X11
@@ -34,14 +38,16 @@
kompaktowych.
%prep
-%setup -q -n %{name}-3.0
+%setup -q
%patch0 -p1
%patch1 -p1
%build
xmkmf
%{__make} Makefiles
-%{__make} "CCOPTIONS=%{rpmcflags}"
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -I.. -I/usr/include/ncurses"
%install
rm -rf $RPM_BUILD_ROOT
@@ -53,8 +59,7 @@
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_libdir}/app-defaults
-sed -e s?FILE=/tmp?FILE=%{tmpdir}?g install.sh > install2.sh
-mv -f install2.sh install.sh
+sed -i -e s,FILE=/tmp,FILE=%{tmpdir},g install.sh
chmod +x ./install.sh
./install.sh -b -n
@@ -77,6 +82,7 @@
%defattr(644,root,root,755)
%doc docs_d/*
%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/.xmcd_start
%dir %{_libdir}/xmcd
%dir %{_libdir}/xmcd/bin*
%attr(755,root,root) %{_libdir}/xmcd/bin*/[!R]*
@@ -84,6 +90,7 @@
%{_libdir}/xmcd/[chps]*
%{_libdir}/xmcd/discog
%{_libdir}/app-defaults/XMcd
+%{_libdir}/%{name}/app-defaults
%{_mandir}/man1/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -92,6 +99,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2006/05/12 19:57:29 adamg
+- updated to 3.3.2
+- pass CC, CFLAGS
+- BR: flac-devel, sed
+- cosmetics
+
Revision 1.11 2003/08/11 13:59:44 qboosh
- missing dir
- /usr/X11R6/lib/X11 must be referenced directly, not through symlink
@@ -104,7 +117,7 @@
Revision 1.7 2003/06/23 14:00:28 ankry
- updated URLs, added md5
-NOTE: 3.2.0 available
+ NOTE: 3.2.0 available
Revision 1.6 2003/05/25 06:28:23 misi3k
- massive attack s/pld.org.pl/pld-linux.org/
@@ -116,10 +129,10 @@
- use new Group: X11/Applications/Sound
Revision 1.3 2002/11/30 23:00:31 juandon
-- new %%doc
+- new %doc
Revision 1.2 2002/04/02 13:01:19 qboosh
-- fixed typo, added some missing dirs to %%files
+- fixed typo, added some missing dirs to %files
Revision 1.1 2002/03/28 23:44:45 juandon
- initial Release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xmcd.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list