SPECS: strigi.spec - proper libsuffix for 64bit architectures - rel 2

shadzik shadzik at pld-linux.org
Sat Jun 2 02:03:04 CEST 2007


Author: shadzik                      Date: Sat Jun  2 00:03:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- proper libsuffix for 64bit architectures
- rel 2

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

---- Diffs:

================================================================
Index: SPECS/strigi.spec
diff -u SPECS/strigi.spec:1.2 SPECS/strigi.spec:1.3
--- SPECS/strigi.spec:1.2	Fri Jun  1 23:34:10 2007
+++ SPECS/strigi.spec	Sat Jun  2 02:02:58 2007
@@ -8,7 +8,7 @@
 #Summary(pl.UTF-8):	Strigi
 Name:		strigi
 Version:	0.5.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications
 Source0:	http://www.vandenoever.info/software/strigi/%{name}-%{version}.tar.bz2
@@ -58,8 +58,11 @@
 install -d build
 cd build
 %cmake \
-		-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-		../
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	../
 
 %{__make}
 
@@ -78,15 +81,15 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_prefix}/lib/*.so*
-%dir %{_prefix}/lib/strigi
-%attr(755,root,root) %{_prefix}/lib/strigi/*.so
+%attr(755,root,root) %{_libdir}/*.so*
+%dir %{_libdir}/strigi
+%attr(755,root,root) %{_libdir}/strigi/*.so
 
 %files devel
 %defattr(644,root,root,755)
 %dir %{_includedir}/strigi
 %{_includedir}/strigi/*.h
-/usr/lib/pkgconfig/*.pc
+%{_pkgconfigdir}/*.pc
 %dir %{_datadir}/strigi
 %{_datadir}/strigi/fieldproperties
 
@@ -96,6 +99,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/06/02 00:02:58  shadzik
+- proper libsuffix for 64bit architectures
+- rel 2
+
 Revision 1.2  2007/06/01 21:34:10  shadzik
 - add description
 - adapterized
================================================================

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



More information about the pld-cvs-commit mailing list