summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2004-07-25 11:03:32 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit9d4b338a5d1b0b60319d395bbdd9899ff5f280bd (patch)
tree7135dea5dae40afb25d5b7b74307ba7e352c6ae7
parent2a83819e6abf67d3432bb4fc0ca0353e1449bd60 (diff)
downloadswish-e-9d4b338a5d1b0b60319d395bbdd9899ff5f280bd.zip
swish-e-9d4b338a5d1b0b60319d395bbdd9899ff5f280bd.tar.gz
- fixed build on amd64 (use just prefix/lib for scripts), release 2auto/ac/swish-e-2_4_2-2
Changed files: swish-e.spec -> 1.4
-rw-r--r--swish-e.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/swish-e.spec b/swish-e.spec
index 52a3501..5ff7258 100644
--- a/swish-e.spec
+++ b/swish-e.spec
@@ -2,7 +2,7 @@ Summary: Simple Web Indexing System for Humans - Enhanced
Summary(pl): Prosty system indeksowania stron WWW - wersja rozszerzona
Name: swish-e
Version: 2.4.2
-Release: 1
+Release: 2
License: GPL/LGPL
Group: Applications/Text
Source0: http://swish-e.org/Download/%{name}-%{version}.tar.gz
@@ -146,6 +146,7 @@ Biblioteka statyczna dla swish-e.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -161,8 +162,8 @@ rm -r $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{name}
%attr(755,root,root) %{_libdir}/libswish-e.so.*.*.*
-%dir %{_libdir}/swish-e
-%attr(755,root,root) %{_libdir}/swish-e/swishspider
+%dir %{_prefix}/lib/swish-e
+%attr(755,root,root) %{_prefix}/lib/swish-e/swishspider
%{_mandir}/man?/*
%files doc
@@ -172,16 +173,16 @@ rm -r $RPM_BUILD_ROOT
%files perl
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/swish-filter-test
-%{_libdir}/%{name}/perl
-%attr(755,root,root) %{_libdir}/%{name}/*.pl
-%attr(755,root,root) %{_libdir}/%{name}/*.cgi
+%{_prefix}/lib/%{name}/perl
+%attr(755,root,root) %{_prefix}/lib/%{name}/*.pl
+%attr(755,root,root) %{_prefix}/lib/%{name}/*.cgi
%{_datadir}/swish-e
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libswish-e.so
%{_libdir}/libswish-e.la
-%{_includedir}/*
+%{_includedir}/*.h
%files static
%defattr(644,root,root,755)