]> git.pld-linux.org Git - packages/cdp.git/blobdiff - cdp.spec
- cosmetics (spaces -> tabs)
[packages/cdp.git] / cdp.spec
index 19af784cc5d604b63a5867a2e4b2e4ac131b65cf..5e1632c083703921e61c3a335a2fb3dcdb8d2315 100644 (file)
--- a/cdp.spec
+++ b/cdp.spec
@@ -1,42 +1,50 @@
-Summary:       full screen text mode program for playing audio CD's
+Summary:       Full screen text mode program for playing audio CD's
 Summary(de):   Vollbildprogramm in Textmodus zum Abspielen von Audio-CDs
-Summary(fr):   Programme en mode texte plein écran pour lire les CD audio.
-Summary(tr):   Müzik CD'lerini çalmak için bir metin ekran programý
+Summary(fr):   Programme en mode texte plein écran pour lire les CD audio
 Summary(pl):   Pe³noekranowy, tekstowy program do odtwarzania p³yt CD
+Summary(tr):   Müzik CD'lerini çalmak için bir metin ekran programý
 Name:          cdp
 Version:       0.33
-Release:       12
-Copyright:     GPL
+Release:       26
+License:       GPL
 Group:         Applications/Sound
-Group(pl):     Aplikacje/D¼wiêk
-Source:                ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/curses/%{name}-%{version}.tgz
-Patch0:                cdp-fsstnd.patch
-Patch1:                cdp-cdplay.patch
-Patch2:                cdp-ncurses.patch
-Patch3:                cdp-glibc.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/curses/%{name}-%{version}.tgz
+# Source0-md5: 9bf61177d9fba16ddd4c647a182039fc
+Patch0:                %{name}-fsstnd.patch
+Patch1:                %{name}-cdplay.patch
+Patch2:                %{name}-ncurses.patch
+Patch3:                %{name}-glibc.patch
+Patch4:                %{name}-strchr.patch
+Patch5:                %{name}-FHS20.patch
+Patch6:                %{name}-changer.patch
+Patch7:                %{name}-keys.patch
+Patch8:                %{name}-nonblock.patch
+Patch9:                %{name}-bo_fix.patch
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This program allows you to play audio CD's on your computers CDROM drive. It
-provides a version with a full screen interface as well as a command line
-version.
+This program allows you to play audio CD's on your computers CDROM
+drive. It provides a version with a full screen interface as well as a
+command line version.
 
 %description -l de
-Mit diesem Programm können Sie die auf dem CD-ROM-Laufwerk Ihres Computers
-Audio-CDs abspielen. Es liegt in zwei Versionen vor: Einmal als Voll-
-bildschirm-, einmal als Befehlszeilen-Version.
+Mit diesem Programm können Sie die auf dem CD-ROM-Laufwerk Ihres
+Computers Audio-CDs abspielen. Es liegt in zwei Versionen vor: Einmal
+als Voll- bildschirm-, einmal als Befehlszeilen-Version.
 
 %description -l fr
-Ce programme permet de jouer des CDs audio sur le lecteur CDROM. Il offre
-une version plein écran et une version en ligne de commande.
+Ce programme permet de jouer des CDs audio sur le lecteur CDROM. Il
+offre une version plein écran et une version en ligne de commande.
 
 %description -l pl
 Ten program pozwala na odtwarzanie p³yt CD w twoim napêdzie. Zawiera
 zarówno wersjê z tekstowym interfejsem jak i bez niego.
 
 %description -l tr
-Bu program, bilgisayarýnýzýn CDROM sürücüsünde müzik CD'lerini çalmanýza
-yarar. Komut modunda veya tam ekran arayüzüyle kullanabilirsiniz.
+Bu program, bilgisayarýnýzýn CDROM sürücüsünde müzik CD'lerini
+çalmanýza yarar. Komut modunda veya tam ekran arayüzüyle
+kullanabilirsiniz.
 
 %prep
 %setup -q
@@ -44,16 +52,22 @@ yarar. Komut modunda veya tam ekran aray
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 
 %build
-make COMP_OPT="$RPM_OPT_FLAGS -Wall"
+%{__make} COMP_OPT="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-make DESTDIR=$RPM_BUILD_ROOT install
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,32 +76,3 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-
-%changelog
-* Tue Jan 26 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [0.33-12]
-- added pl translations
-- replace "mkdir -p" with "install -d"
-
-* Sun Nov 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.33-11]
-- added gzipping man pages,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added using $RPM_OPT_FLAGS during compile,
-- added full %attr description in %files.
-
-* Sat Aug 15 1998 Jeff Johnson
-- build root
-
-* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
-- built against new ncurses
-
-* Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
-- fixed src url
-
-* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
This page took 0.187981 seconds and 4 git commands to generate.