Группа :: Система/Библиотеки
Пакет: liblastfm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: liblastfm
Version: 0.3.0
Release: alt1
Group: System/Libraries
Summary: Liblastfm is a collection of libraries to help you integrate Last.fm services
License: GPLv3
Requires: %name-common = %version-%release
Source: http://cdn.last.fm/src/liblastfm-0.3.0.tar
# Automatically added by buildreq on Tue Sep 08 2009 (-bi)
BuildRequires: gcc-c++ libfftw3-devel libqt4-devel libsamplerate-devel ruby ruby-stdlibs
%description
Liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
%package common
Group: System/Configuration/Other
Summary: Common package for %name
%description common
Common package for %name
%package -n lastfm_fingerprint
Group: System/Libraries
Summary: Liblastfm is a collection of libraries to help you integrate Last.fm services
Requires: %name-common = %version-%release
%description -n lastfm_fingerprint
Liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
%package devel
Group: Development/C++
Summary: %name development files
Requires: %name-common = %version-%release
%description devel
Install this package if you want do compile applications using the %name library.
%prep
%setup -q
find . -name *.pro | \
while read name; do
sed -i 's|target.path.*|target.path = /%_lib|g' $name
done
%build
export PATH=%_qt4dir/bin:$PATH
export CFLAGS="%optflags" CXXFLAGS="%optflags"
./configure --release --prefix %prefix
%make_build
%install
%make install DESTDIR=%buildroot INSTALL_ROOT=%buildroot
%files common
%files
%_libdir/liblastfm.so.*
%files -n lastfm_fingerprint
%_libdir/liblastfm_fingerprint.so.*
%files devel
%doc README
%_libdir/*.so
%_includedir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.3.0
Release: alt1
Group: System/Libraries
Summary: Liblastfm is a collection of libraries to help you integrate Last.fm services
License: GPLv3
Requires: %name-common = %version-%release
Source: http://cdn.last.fm/src/liblastfm-0.3.0.tar
# Automatically added by buildreq on Tue Sep 08 2009 (-bi)
BuildRequires: gcc-c++ libfftw3-devel libqt4-devel libsamplerate-devel ruby ruby-stdlibs
%description
Liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
%package common
Group: System/Configuration/Other
Summary: Common package for %name
%description common
Common package for %name
%package -n lastfm_fingerprint
Group: System/Libraries
Summary: Liblastfm is a collection of libraries to help you integrate Last.fm services
Requires: %name-common = %version-%release
%description -n lastfm_fingerprint
Liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
%package devel
Group: Development/C++
Summary: %name development files
Requires: %name-common = %version-%release
%description devel
Install this package if you want do compile applications using the %name library.
%prep
%setup -q
find . -name *.pro | \
while read name; do
sed -i 's|target.path.*|target.path = /%_lib|g' $name
done
%build
export PATH=%_qt4dir/bin:$PATH
export CFLAGS="%optflags" CXXFLAGS="%optflags"
./configure --release --prefix %prefix
%make_build
%install
%make install DESTDIR=%buildroot INSTALL_ROOT=%buildroot
%files common
%files
%_libdir/liblastfm.so.*
%files -n lastfm_fingerprint
%_libdir/liblastfm_fingerprint.so.*
%files devel
%doc README
%_libdir/*.so
%_includedir/*
%changelog
…
Полный changelog можно просмотреть здесь