[lastfmlib] Initial import (#666633).

progdan progdan at fedoraproject.org
Sat Jan 8 13:22:32 UTC 2011


commit 60d317960afdd4470c521f3a3fee1d0349e6e5c7
Author: Dan Vrátil <vratil at progdansoft.com>
Date:   Sat Jan 8 14:23:16 2011 +0100

    Initial import (#666633).

 .gitignore     |    1 +
 lastfmlib.spec |   69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b5012ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lastfmlib-0.4.0.tar.gz
diff --git a/lastfmlib.spec b/lastfmlib.spec
new file mode 100644
index 0000000..8554224
--- /dev/null
+++ b/lastfmlib.spec
@@ -0,0 +1,69 @@
+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 at progdansoft.com> 0.4.0-1
+- Initial release
diff --git a/sources b/sources
index e69de29..441ee45 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f6f00882c15b8cc703718d22e1b1871f  lastfmlib-0.4.0.tar.gz


More information about the scm-commits mailing list