Witam,
W liście z nie, 04-01-2004, godz. 23:27, Łukasz Nowak pisze:
(...)
Zapomniałem załączników :(
Dodatkowo patch na id3v2
Pozdrawiam,
Łukasz Nowak
--
Łukasz Nowak
[EMAIL PROTECTED]
http://Lukasz.Nowak.eu.org/
diff -u id3v2-0.1.9-orig/Makefile id3v2-0.1.9/Makefile
--- id3v2-0.1.9-orig/Makefile 2004-01-04 22:33:02.000000000 +0100
+++ id3v2-0.1.9/Makefile 2004-01-04 22:41:15.000000000 +0100
@@ -1,6 +1,7 @@
all: id3v2
-PREFIX= /usr/local
+PREFIX= /usr/
+MANPREFIX=${PREFIX}/share/
CXXFLAGS+= -I${PREFIX}/include/
LDFLAGS+= -L${PREFIX}/lib/
@@ -8,8 +9,8 @@
c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ id3v2.o list.o convert.o
install: all
- install -c -s id3v2 ${PREFIX}/bin/id3v2
- nroff -man id3v2.1 > ${PREFIX}/man/man1/id3v2.1
+ install -c -s id3v2 ${DESTDIR}/${PREFIX}/bin/id3v2
+ nroff -man id3v2.1 > ${DESTDIR}/${MANPREFIX}/man/man1/id3v2.1
clean:
rm -f id3v2 core *.o
--- abcde.spec-orig 2004-01-04 22:08:11.000000000 +0100
+++ abcde.spec 2004-01-04 22:46:50.000000000 +0100
@@ -11,6 +11,9 @@
URL: http://www.hispalinux.es/~data/abcde.php
Requires: cd-discid >= 0.7
Requires: wget >= 1.8.1
+Requires: cdparanoia-III
+Requires: id3v2
+Requires: lame
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# $Revision: 1.26 $, $Date: 2003/08/04 19:06:42 $
Summary: A command line id3v2 tag editor.
Summary(pl): Program wiersza polecen do tagów id3v2.
Name: id3v2
Version: 0.1.9
Release: 1
Epoch: 1
License: GPL
Group: -
Vendor: -
Source0: %{name}-%{version}.tar.gz
URL: http://id3v2.sourceforge.net/
BuildRequires: id3lib-devel
Requires: id3lib
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%description -l pl
%prep
%setup -q
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
# create directories if necessary
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: template.spec,v $
__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles