Author: jdieter
Update of /cvs/nonfree/rpms/libspotify/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3847/F-16
Modified Files:
.cvsignore libspotify.spec sources
Log Message:
Update to 12.1.51
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/F-16/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 12 Apr 2012 11:47:54 -0000 1.2
+++ .cvsignore 28 Jun 2012 18:49:14 -0000 1.3
@@ -1,2 +1,2 @@
-libspotify-10.1.16-Linux-i686-release.tar.gz
-libspotify-10.1.16-Linux-x86_64-release.tar.gz
+libspotify-12.1.51-Linux-i686-release.tar.gz
+libspotify-12.1.51-Linux-x86_64-release.tar.gz
Index: libspotify.spec
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/F-16/libspotify.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libspotify.spec 12 Apr 2012 11:47:54 -0000 1.1
+++ libspotify.spec 28 Jun 2012 18:49:14 -0000 1.2
@@ -1,12 +1,12 @@
Name: libspotify
-Version: 10.1.16
-Release: 3%{?dist}
+Version: 12.1.51
+Release: 1%{?dist}
Summary: Official Spotify API
Group: Development/Libraries
License: Redistributable, no modification permitted
URL:
http://developer.spotify.com/en/libspotify/overview/
-Source0:
http://developer.spotify.com/download/libspotify/libspotify-10.1.16-Linux...
-Source1:
http://developer.spotify.com/download/libspotify/libspotify-10.1.16-Linux...
+Source0:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
+Source1:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
@@ -22,46 +22,31 @@
This contains the files needed to develop using libspotify
%prep
-mkdir -p %{name}-%{version}
-cd %{name}-%{version}
%ifarch %{ix86}
-tar -xf %{SOURCE0}
-cd libspotify-Linux-i686-release
-cat Makefile | grep -v ldconfig > Makefile.new
-rm -f Makefile
-mv Makefile.new Makefile
-cd ..
+%setup -q -b 0 -n %{name}-%{version}-Linux-i686-release
%endif
%ifarch x86_64
-tar -xf %{SOURCE1}
-cd libspotify-Linux-x86_64-release
-cat Makefile | grep -v ldconfig > Makefile.new
-rm -f Makefile
-mv Makefile.new Makefile
-sed -i s/"\$(prefix)\/lib"/"\$(prefix)\/lib64"/g Makefile
-cd ..
+%setup -q -b 1 -n %{name}-%{version}-Linux-x86_64-release
+sed -i s/"\/lib\/"/"\/lib64\/"/g Makefile
+sed -i s/"\/lib$"/"\/lib64"/g Makefile
+sed -i s/"\/lib "/"\/lib64 "/g Makefile
%endif
%ifnarch %{ix86} x86_64
echo "This cpu architecture is not supported"
exit 1
%endif
+cat Makefile | grep -v ldconfig > Makefile.new
+rm -f Makefile
+mv Makefile.new Makefile
%install
rm -rf $RPM_BUILD_ROOT
-cd %{name}-%{version}
-%ifarch %{ix86}
-cd libspotify-Linux-i686-release
-%endif
-%ifarch x86_64
-cd libspotify-Linux-x86_64-release
-%endif
%ifnarch %{ix86} x86_64
echo "This cpu architecture is not supported"
exit 1
%endif
make install prefix=$RPM_BUILD_ROOT/usr
-cp LICENSE README licenses.xhtml ../
-ls -l ../
+ls -l ./
cd $RPM_BUILD_ROOT%{_libdir}/pkgconfig
cat libspotify.pc | grep -v "^prefix=" > libspotify.pc.new
echo "prefix=/usr" > libspotify.pc
@@ -84,18 +69,21 @@
%files
%defattr(-,root,root,-)
-%doc %{name}-%{version}/LICENSE %{name}-%{version}/README
%{name}-%{version}/licenses.xhtml
+%doc LICENSE README licenses.xhtml
%{_libdir}/libspotify.so.*
%files devel
%defattr(-,root,root,-)
-%doc %{name}-%{version}/LICENSE %{name}-%{version}/README
%{name}-%{version}/licenses.xhtml
+%doc LICENSE README licenses.xhtml
%{_includedir}/*
%{_libdir}/libspotify.so
%{_libdir}/pkgconfig/*
%changelog
+* Thu Jun 28 2012 Jonathan Dieter <jdieter(a)gmail.com> - 12.1.51-1
+- Update to 12.1.51
+
* Mon Mar 26 2012 Jonathan Dieter <jdieter(a)gmail.com> - 10.1.16-3
- Change license
- Add empty build section to make rpmlint happy
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/F-16/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 12 Apr 2012 11:47:54 -0000 1.2
+++ sources 28 Jun 2012 18:49:14 -0000 1.3
@@ -1,2 +1,2 @@
-eaec871b27dc46087681337b6992d787 libspotify-10.1.16-Linux-i686-release.tar.gz
-263c17a6f74268217fab7300db12b017 libspotify-10.1.16-Linux-x86_64-release.tar.gz
+04735b890da0b1fc7f1f14e68a5293de libspotify-12.1.51-Linux-i686-release.tar.gz
+83efddcc195d6ff12b24c97c767a5e45 libspotify-12.1.51-Linux-x86_64-release.tar.gz