packages: liblastfm/liblastfm.spec - cxx/cxxflags
glen
glen at pld-linux.org
Fri Apr 6 19:45:18 CEST 2012
Author: glen Date: Fri Apr 6 17:45:18 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- cxx/cxxflags
---- Files affected:
packages/liblastfm:
liblastfm.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/liblastfm/liblastfm.spec
diff -u packages/liblastfm/liblastfm.spec:1.4 packages/liblastfm/liblastfm.spec:1.5
--- packages/liblastfm/liblastfm.spec:1.4 Sat Jan 28 14:43:37 2012
+++ packages/liblastfm/liblastfm.spec Fri Apr 6 19:45:13 2012
@@ -1,11 +1,11 @@
-# $Revision$, $Date$ Summary: Library to access Last.fm features
+# $Revision$, $Date$
Summary: Library to access Last.fm features
Name: liblastfm
Version: 0.3.3
Release: 1
License: GPL v3
Group: Libraries
-Source0: http://github.com/mxcl/%{name}/tarball/%{version}#/%{name}-%{version}.tar.gz
+Source0: http://github.com/mxcl/liblastfm/tarball/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: fe339bf46aefc515c251200d10262f79
Patch0: %{name}-ruby19.patch
URL: http://github.com/mxcl/liblastfm/
@@ -21,6 +21,7 @@
BuildRequires: qt4-qmake
BuildRequires: ruby
BuildRequires: ruby-modules
+BuildRequires: sed >= 4.0
BuildRequires: which
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,16 +43,18 @@
Pliki nagłówkowe %{name}.
%prep
-%setup -q -n mxcl-liblastfm-1c739eb
+%setup -q -n mxcl-%{name}-1c739eb
%patch0 -p0
-find . -name *.pro -exec sed -i -e "/target.path/s/lib/%{_lib}/g" {} \;
+find -name *.pro | xargs %{__sed} -i -e "/target.path/ s/lib/%{_lib}/g"
%build
%configure \
--prefix %{_prefix} \
--libdir %{_libdir}
-%{__make}
+%{__make} \
+ CXX="%{__cc}" \
+ CXXFLAGS="%{rpmcxxflags} -fno-operator-names -fPIC"
%install
rm -rf $RPM_BUILD_ROOT
@@ -69,9 +72,9 @@
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_libdir}/%{name}.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{name}.so.?
+%attr(755,root,root) %ghost %{_libdir}/%{name}.so.0
%attr(755,root,root) %{_libdir}/%{name}_fingerprint.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{name}_fingerprint.so.?
+%attr(755,root,root) %ghost %{_libdir}/%{name}_fingerprint.so.0
%files devel
%defattr(644,root,root,755)
@@ -86,6 +89,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2012/04/06 17:45:13 glen
+- cxx/cxxflags
+
Revision 1.4 2012/01/28 13:43:37 atler
- up to 0.3.3
- project moved to github
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/liblastfm/liblastfm.spec?r1=1.4&r2=1.5
More information about the pld-cvs-commit
mailing list