rpms/libspotify/F-17 .cvsignore, 1.2, 1.3 libspotify.spec, 1.1, 1.2 sources, 1.2, 1.3

Jonathan Dieter jdieter at rpmfusion.org
Thu Jun 28 20:48:48 CEST 2012


Author: jdieter

Update of /cvs/nonfree/rpms/libspotify/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3681/F-17

Modified Files:
	.cvsignore libspotify.spec sources 
Log Message:
Update to 12.1.51


Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/F-17/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	12 Apr 2012 11:47:20 -0000	1.2
+++ .cvsignore	28 Jun 2012 18:48:47 -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-17/libspotify.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libspotify.spec	12 Apr 2012 11:47:20 -0000	1.1
+++ libspotify.spec	28 Jun 2012 18:48:47 -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-i686-release.tar.gz
-Source1:	http://developer.spotify.com/download/libspotify/libspotify-10.1.16-Linux-x86_64-release.tar.gz
+Source0:	http://developer.spotify.com/download/libspotify/libspotify-%{version}-Linux-i686-release.tar.gz
+Source1:	http://developer.spotify.com/download/libspotify/libspotify-%{version}-Linux-x86_64-release.tar.gz
 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 at gmail.com> - 12.1.51-1
+- Update to 12.1.51
+
 * Mon Mar 26 2012 Jonathan Dieter <jdieter at 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-17/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	12 Apr 2012 11:47:20 -0000	1.2
+++ sources	28 Jun 2012 18:48:47 -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


More information about the rpmfusion-commits mailing list