Author: jdieter
Update of /cvs/nonfree/rpms/libspotify/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28603/devel
Modified Files:
.cvsignore libspotify.spec sources
Log Message:
Add support for armv5tel, armv6l and armv7l
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 28 Jun 2012 18:47:23 -0000 1.3
+++ .cvsignore 11 Jul 2012 13:33:46 -0000 1.4
@@ -1,2 +1,5 @@
libspotify-12.1.51-Linux-i686-release.tar.gz
libspotify-12.1.51-Linux-x86_64-release.tar.gz
+libspotify-12.1.51-Linux-armv5-release.tar.gz
+libspotify-12.1.51-Linux-armv6-release.tar.gz
+libspotify-12.1.51-Linux-armv7-release.tar.gz
Index: libspotify.spec
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/devel/libspotify.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libspotify.spec 28 Jun 2012 18:47:23 -0000 1.2
+++ libspotify.spec 11 Jul 2012 13:33:46 -0000 1.3
@@ -1,13 +1,17 @@
Name: libspotify
Version: 12.1.51
-Release: 1%{?dist}
+Release: 2%{?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-%{version}-Li...
Source1:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
+Source2:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
+Source3:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
+Source4:
http://developer.spotify.com/download/libspotify/libspotify-%{version}-Li...
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+ExclusiveArch: i686 x86_64 armv5tel armv6l armv7l
%description
libspotify is the official Spotify API. Applications can use this API to play
@@ -22,16 +26,26 @@
This contains the files needed to develop using libspotify
%prep
-%ifarch %{ix86}
+%ifarch i686
%setup -q -b 0 -n %{name}-%{version}-Linux-i686-release
%endif
%ifarch x86_64
%setup -q -b 1 -n %{name}-%{version}-Linux-x86_64-release
+# There must be a prettier way of doing this
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
+%ifarch armv5tel
+%setup -q -b 2 -n %{name}-%{version}-Linux-armv5-release
+%endif
+%ifarch armv6l
+%setup -q -b 3 -n %{name}-%{version}-Linux-armv6-release
+%endif
+%ifarch armv7l
+%setup -q -b 4 -n %{name}-%{version}-Linux-armv7-release
+%endif
+%ifnarch i686 x86_64 armv5tel armv6l armv7l
echo "This cpu architecture is not supported"
exit 1
%endif
@@ -41,7 +55,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-%ifnarch %{ix86} x86_64
+%ifnarch i686 x86_64 armv5tel armv6l armv7l
echo "This cpu architecture is not supported"
exit 1
%endif
@@ -81,6 +95,9 @@
%changelog
+* Wed Jul 11 2012 Jonathan Dieter <jdieter(a)gmail.com> - 12.1.51-2
+- Add in armv5, armv6 and armv7
+
* Thu Jun 28 2012 Jonathan Dieter <jdieter(a)gmail.com> - 12.1.51-1
- Update to 12.1.51
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/libspotify/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 28 Jun 2012 18:47:23 -0000 1.3
+++ sources 11 Jul 2012 13:33:46 -0000 1.4
@@ -1,2 +1,5 @@
04735b890da0b1fc7f1f14e68a5293de libspotify-12.1.51-Linux-i686-release.tar.gz
83efddcc195d6ff12b24c97c767a5e45 libspotify-12.1.51-Linux-x86_64-release.tar.gz
+a7fbd6e248dc4d350f044f0729f1dc40 libspotify-12.1.51-Linux-armv5-release.tar.gz
+11c92c757ff316a46e64d518d6d45b05 libspotify-12.1.51-Linux-armv6-release.tar.gz
+eb7e98849b3bb6d364fa74034602afbf libspotify-12.1.51-Linux-armv7-release.tar.gz