Репозитории ALT
S: | 0.22-alt1.git20110709 |
5.1: | 0.18.1-alt1 |
4.1: | 0.2.10-alt1.2 |
4.0: | 0.2.10-alt1.2 |
Группа :: Звук
Пакет: mpdscribble
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1
Name: mpdscribble
Version: 0.22
Release: alt1.git20110709
Summary: Audioscrobbler client for mpd
License: GPLv2+
Group: Sound
Url: http://mpd.wikia.com/wiki/Client:Mpdscribble
# git://git.musicpd.org/master/mpdscribble.git/
Source: %name-%version.tar.bz2
BuildRequires: glib2-devel libsoup-devel pkg-config
BuildPreReq: libmpdclient-devel libcurl-devel
%description
mpdscribble is a music player daemon client which submits information about
tracks being played to audioscrobbler (http://last.fm/).
%prep
%setup
# don't build with -pedantic-errors flag because it lead to errors in
# system headers
sed -i 's| -pedantic-errors||' configure.ac
# don't build with -Wcast-qual due to warnings from libsoup
# (https://bugzilla.gnome.org/show_bug.cgi?id=600315)
sed -i '/-Wcast-qual/d' configure.ac
# don't try to install documenation to non-versioned directory under
# /usr/share/doc
sed -i '/^doc_DATA/d' Makefile.am
# don't try to install config to /etc. We will pack it as example
# manually.
sed -i '/^dist_sysconf_DATA/d' Makefile.am
%build
%autoreconf
%configure
%make_build --no-print-directory
%install
%makeinstall --no-print-directory
%files
%_bindir/%name
%_man1dir/%name.1.*
%doc AUTHORS NEWS README doc/%name.conf
%changelog
…
Полный changelog можно просмотреть здесь
%define _unpackaged_files_terminate_build 1
Name: mpdscribble
Version: 0.22
Release: alt1.git20110709
Summary: Audioscrobbler client for mpd
License: GPLv2+
Group: Sound
Url: http://mpd.wikia.com/wiki/Client:Mpdscribble
# git://git.musicpd.org/master/mpdscribble.git/
Source: %name-%version.tar.bz2
BuildRequires: glib2-devel libsoup-devel pkg-config
BuildPreReq: libmpdclient-devel libcurl-devel
%description
mpdscribble is a music player daemon client which submits information about
tracks being played to audioscrobbler (http://last.fm/).
%prep
%setup
# don't build with -pedantic-errors flag because it lead to errors in
# system headers
sed -i 's| -pedantic-errors||' configure.ac
# don't build with -Wcast-qual due to warnings from libsoup
# (https://bugzilla.gnome.org/show_bug.cgi?id=600315)
sed -i '/-Wcast-qual/d' configure.ac
# don't try to install documenation to non-versioned directory under
# /usr/share/doc
sed -i '/^doc_DATA/d' Makefile.am
# don't try to install config to /etc. We will pack it as example
# manually.
sed -i '/^dist_sysconf_DATA/d' Makefile.am
%build
%autoreconf
%configure
%make_build --no-print-directory
%install
%makeinstall --no-print-directory
%files
%_bindir/%name
%_man1dir/%name.1.*
%doc AUTHORS NEWS README doc/%name.conf
%changelog
…
Полный changelog можно просмотреть здесь