Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 36925176
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libxmp

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

# on soname change rename lib package according to shared libs policy!
%global soname 4

Name: libxmp
Version: 4.5.0
Release: alt2

Summary: Module Player library for MOD, S3M, IT and others
License: LGPLv2.1
Group: System/Libraries

Url: http://xmp.sf.net/
Source0: http://downloads.sf.net/xmp/%name-%version.tar.gz
Source100: %name.watch
Patch0: %{name}-fix-lto.patch

%description
libxmp is a module player library which supports many module formats,
including MOD, S3M and IT. Possible applications for libxmp include
standalone module players, module player plugins for other players,
module information extractors, background music replayers for games
and other applications, converters, etc.

%package devel
Summary: Development files for libxmp, a MOD/S3M/IT/etc. module player library
Group: Development/C
Requires: %name = %version

%description devel
libxmp is a module player library which supports many module formats,
including MOD, S3M and IT. Possible applications for libxmp include
standalone module players, module player plugins for other players,
module information extractors, background music replayers for games
and other applications, converters, etc.

This subpackage contains headers and library development files for
libxmp.

%prep
%setup
%patch0 -p1 -b .lto

%build
%configure
%make_build

%install
b="%buildroot"
make install DESTDIR="$b"
mkdir -p "$b/%_mandir/man3" "$b/%_docdir/%name"
install -pm0644 docs/Changelog docs/[a-z]* "$b/%_docdir/%name/"
# Remove file due to bnc#808655, and because they are hardware-specific
# and should not have much relevance for developers anyhow.
rm -f "$b/%_docdir/%name"/{adlib*,ay*.txt}
mv "$b/%_docdir/%name/libxmp.3" "$b/%_man3dir/"

%files -n %name
%_libdir/libxmp.so.%{soname}
%_libdir/libxmp.so.%{soname}.*
%doc docs/COPYING.LIB

%files devel
%_includedir/xmp.h
%_libdir/libxmp.so
%_libdir/pkgconfig/libxmp.pc
%_mandir/man3/libxmp.3*
%_docdir/%name/

%changelog

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

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