Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5d696f6c6c9e9081b02f04e90e191285 > files > 2

lastfmlib-0.4.0-2.fc14.src.rpm

Name:           lastfmlib
Version:        0.4.0
Release:        2%{?dist}
Summary:        Last.fm scrobbling library

Group:          System Environment/Libraries
License:        GPLv2+
URL:            http://code.google.com/p/lastfmlib
Source0:        http://lastfmlib.googlecode.com/files/lastfmlib-%{version}.tar.gz

BuildRequires:  pkgconfig curl-devel

%description
lastfmlib is library that provides an implementation of
the Last.fm Submissions Protocol v1.2. It allows you
to scrobble your tracks on Last.fm


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
# The doc files in source tarball are executable by default
%defattr(0644,root,root,0755)
%doc README ChangeLog COPYING

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc


%changelog
* Sat Jan 01 2011 Dan Vratil <vratil@progdansoft.com> 0.4.0-1
- Initial release