Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047768
en ru br
Репозитории ALT
5.1: 1.3.8-alt0.4
4.1: 1.3.7-alt3
4.0: 1.3.7-alt3
3.0: 1.3.5-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: mpfc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mpfc
Version: 1.3.7
Release: alt3

Summary: MPFC is music player for console
License: GPL
Group: Sound

URL: http://mpfc.sourceforge.net
Source: mpfc-%version.tar.bz2

Patch0: mpfc-1.1.1-alt-texinfo.patch
Patch1: mpfc-1.3.7-alt-makefile.patch
Patch2: mpfc-1.3.7-alt-weak.patch
Patch3: mpfc-1.3.7-alt-gcc41.patch
Patch4: mpfc-1.3.7-alt-pkgconfig.patch

Requires(post): %install_info
Requires(preun): %uninstall_info

# Added by buildreq2 on Mon Jun 26 2006

BuildRequires: libalsa-devel libgpm-devel libmad-devel libncurses-devel libvorbis-devel

%description
MPFC is an abbrevation for Music Player For Console.
It is a full-featured curses-based playlist-oriented player.
MPFC has vi-style key bindings.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
find -type f -name Makefile.am -print0 |xargs -r0 \
subst -p 's:\$(prefix)/lib:%_libdir:g'
bzip2 -9fk ChangeLog

%build
autoreconf -fisv
%configure --disable-static
make -C libmpfc LDFLAGS="-release %version"
make -C libmpfcwnd LDFLAGS="-release %version"
make -C plugins LDFLAGS="-avoid-version $PWD/libmpfc/libmpfc.la $PWD/libmpfcwnd/libmpfcwnd.la"
make

%install
%make_install install DESTDIR=%buildroot
rm -v %buildroot%_libdir/mpfc/*/*.la
subst -p s/oss/alsa/g %buildroot/etc/mpfcrc
%find_lang mpfc

%post
%install_info mpfc.info

%preun
%uninstall_info mpfc.info

%files -f mpfc.lang
%doc AUTHORS ChangeLog.bz2 NEWS README
%_bindir/mpfc
%config(noreplace) /etc/mpfcrc
%_libdir/libmpfc-%version.so
%_libdir/libmpfcwnd-%version.so
%_libdir/mpfc/
%_man1dir/mpfc.?*
%_infodir/mpfc.?*

%package devel
Summary: MPFC is music player for console (development files)
Group: Development/Other
Requires: %name = %version-%release

%description devel
MPFC is an abbrevation for Music Player For Console.
It is a full-featured curses-based playlist-oriented player.

%files devel
%_includedir/mpfc/
%_libdir/libmpfc.so
%_libdir/libmpfcwnd.so
%_libdir/pkgconfig/mpfc.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin