# Review at https://bugzilla.redhat.com/show_bug.cgi?id=767838 %global git_snapshot 1 %if 0%{?git_snapshot} %global git_rev 968af0ab84e6f8b7658371c778fc8ad2714db68e %global git_date 20120314 %global git_short %(echo %{git_rev} | cut -c-8) %global git_version %{git_date}git%{git_short} %endif # Source0 was generated as follows: # git clone git://liblastfm.git.sourceforge.net/gitroot/liblastfm/liblastfm # cd %%{name} # git archive --format=tar --prefix=%{name}/ %%{git_short} | bzip2 > %%{name}-%%{?git_version}.tar.bz2 Name: libclastfm Version: 0.5 Release: 0.26%{?git_version:.%{?git_version}}%{?dist} Summary: Unofficial C-API for the Last.fm web service License: GPLv3+ URL: http://liblastfm.sourceforge.net/ Source0: %{name}-%{?git_version}.tar.bz2 BuildRequires: libtool BuildRequires: libcurl-devel BuildRequires: make %description libclastfm is an unofficial C-API for the Last.fm web service written with libcurl. It was written because the official CBS Interactive Last.fm library requires Nokia QT, which is usually not desired when using GTK+ based distros. This library supports much more than basic scrobble submission. You can send shouts, fetch Album covers and much more. Due to the naming conflict with the official last.fm library, this library will install as "libclastfm". %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -qn %{name} %build NOCONFIGURE=1 sh autogen.sh %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets %files %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/%{name}.so.* %files devel %{_includedir}/* %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Thu Jul 18 2024 Fedora Release Engineering - 0.5-0.26.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.5-0.25.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.5-0.24.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.5-0.23.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.5-0.22.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.5-0.21.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.5-0.20.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.5-0.19.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.5-0.18.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.5-0.17.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.5-0.16.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.5-0.15.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.5-0.14.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.5-0.13.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.5-0.12.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.5-0.11.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.5-0.10.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.5-0.9.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.5-0.8.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.5-0.7.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.5-0.6.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.5-0.5.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.5-0.4.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5-0.3.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.5-0.2.20120314git968af0ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Mar 14 2012 Christoph Wickert - 0.5-0.1.20120314git968af0ab - Update to 0.5.0 snapshot * Fri Jan 13 2012 Fedora Release Engineering - 0.4-0.2.20111214gitcc78dde5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Dec 14 2011 Christoph Wickert - 0.4-0.1.20111214gitcc78dde5 - Update to latest git to fix curl issue on rawhide * Wed Jul 13 2011 Christoph Wickert - 0.4-0.1.20110712gita4aaf771 - Inital package