]> git.pld-linux.org Git - packages/swish-e.git/blobdiff - swish-e.spec
- release 2
[packages/swish-e.git] / swish-e.spec
index 563269385c15b39e5cf55ca07b715c98861985cc..7e0d96d36676b2599c4b572b0aa6195a70f30a0c 100644 (file)
@@ -1,13 +1,13 @@
 %include       /usr/lib/rpm/macros.perl
 Summary:       Simple Web Indexing System for Humans - Enhanced
-Summary(pl.UTF-8):   Prosty system indeksowania stron WWW - wersja rozszerzona
+Summary(pl.UTF-8):     Prosty system indeksowania stron WWW - wersja rozszerzona
 Name:          swish-e
-Version:       2.4.2
-Release:       7
+Version:       2.4.6
+Release:       2
 License:       GPL/LGPL
 Group:         Applications/Text
-Source0:       http://swish-e.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 1606e2f55034540f88c1748eeaae5274
+Source0:       http://swish-e.org/distribution/%{name}-%{version}.tar.gz
+# Source0-md5: eb762cba20ea0908141d44b1a31cdd39
 URL:           http://swish-e.org/
 #Icon:         swish-e.xpm
 BuildRequires: libxml2-devel
@@ -92,7 +92,7 @@ Kluczowymi właściwościami swish-a są:
 
 %package doc
 Summary:       Documentation for swish-e
-Summary(pl.UTF-8):   Dokumentacja dla swish-e
+Summary(pl.UTF-8):     Dokumentacja dla swish-e
 Group:         Documentation
 
 %description doc
@@ -103,7 +103,7 @@ Dokumentacja i przykłady dla SWISH-E
 
 %package perl
 Summary:       SWISH-E - Perl Scripts and Modules
-Summary(pl.UTF-8):   SWISH-E - Skrypty i moduły dla Perla
+Summary(pl.UTF-8):     SWISH-E - Skrypty i moduły dla Perla
 Group:         Applications/Text
 Requires:      %{name} = %{version}-%{release}
 
@@ -115,7 +115,7 @@ Skrypty i moduły perlowe dla SWISH-E.
 
 %package devel
 Summary:       Header files for swish-e
-Summary(pl.UTF-8):   Pliki nagłówkowe dla swish-e
+Summary(pl.UTF-8):     Pliki nagłówkowe dla swish-e
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -127,7 +127,7 @@ Pliki nagłówkowe dla swish-e.
 
 %package static
 Summary:       Static library for swish-e
-Summary(pl.UTF-8):   Biblioteka statyczna dla swish-e
+Summary(pl.UTF-8):     Biblioteka statyczna dla swish-e
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -151,11 +151,14 @@ echo skip | \
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor \
        CCFLAGS="%{rpmcflags} -I../src" \
-       LIBS="%{rpmldflags} -L../src/.libs -lswish-e"
+       LIBS="%{rpmldflags} -L../src/.libs -lswish-e" \
+       SWISHINC=../src \
+       SWISHLIBS=-L../src/.libs \
+       SWISHVERSION=%{version} \
+       SWISHBINDIR=../src
 
 %{__make}
-# doesn't work when skip founding swish-e binary
-# %{__make} test
+%{__make} test
 cd ..
 
 %install
@@ -180,6 +183,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_libdir}/libswish-e.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libswish-e.so.2
 %dir %{_prefix}/lib/swish-e
 %attr(755,root,root) %{_prefix}/lib/swish-e/swishspider
 %{_mandir}/man?/*
@@ -204,9 +208,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/swish-config
 %attr(755,root,root) %{_libdir}/libswish-e.so
 %{_libdir}/libswish-e.la
 %{_includedir}/*.h
+%{_pkgconfigdir}/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.134032 seconds and 4 git commands to generate.