SPECS: libppskype.spec - builds

glen glen at pld-linux.org
Thu Jan 11 01:06:26 CET 2007


Author: glen                         Date: Thu Jan 11 00:06:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds

---- Files affected:
SPECS:
   libppskype.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/libppskype.spec
diff -u SPECS/libppskype.spec:1.2 SPECS/libppskype.spec:1.3
--- SPECS/libppskype.spec:1.2	Wed Jan 10 16:27:08 2007
+++ SPECS/libppskype.spec	Thu Jan 11 01:06:21 2007
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - devel, shared library and -static
 Summary:	++Skype library
 Name:		libppskype
 Version:	0
@@ -7,6 +9,7 @@
 Group:		Libraries
 Source0:	http://www.icebrains-soft.com/files/distribs/libppskype/%{name}.tar.bz2
 # Source0-md5:	84cf9b1b32f3369435642a17a0e3c445
+Patch0:		%{name}-optflags.patch
 URL:		http://www.icebrains-soft.com/skype_library_0
 BuildRequires:	boost-date_time-devel >= 1.33.1
 BuildRequires:	boost-regex-devel >= 1.33.1
@@ -21,12 +24,20 @@
 
 %prep
 %setup -q -n libskype
+%patch0 -p1
 
 %build
-%{__make} -f Makefile.unx
+%{__make} -f Makefile.unx \
+	CCP="%{__cxx}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+%{__make} -f Makefile.unx install  \
+	INSTALL_DIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir}}
+mv $RPM_BUILD_ROOT{/h/*,%{_includedir}/%{name}}
+mv $RPM_BUILD_ROOT{/lib/*,%{_libdir}}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -34,6 +45,9 @@
 %files
 %defattr(644,root,root,755)
 %doc TODO
+%{_includedir}/libppskype
+%{_libdir}/libppskype.a
+%attr(755,root,root) %{_libdir}/libppskype.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -41,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/01/11 00:06:21  glen
+- builds
+
 Revision 1.2  2007/01/10 15:27:08  glen
 - boost deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libppskype.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list