2 # - include apache configuration to config
5 %include /usr/lib/rpm/macros.perl
6 Summary: FemFind - crawl your network resources
7 Summary(pl): FemFind - przeszukiwanie zasobów sieciowych
12 Group: Networking/Utilities
13 Source0: http://www.codefactory.de/downloads/%{name}-%{version}.tar.gz
14 URL: http://femfind.sourceforge.net/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _wwwsite /home/httpd/html/FemFind
18 %define _cgisite /home/httpd/cgi-bin/femfind
21 FemFind is a crawler for SMB shares which can be found on Windows or
22 Unix systems running Samba. Additionally FemFind crawls FTP servers
23 and provides a web interface and a Windows client as frontends.
26 FemFind jest programem przeszukuj±cym zasoby sieci udostêpnione
27 poprzez protokó³ SMB na maszynach Windowsowych lub Uniksowych z
28 dzia³aj±c± Samb±. Dodatkowo FemFind przeszukuje serwery FTP, dostarcza
29 interfejs webowy oraz klienta Windowsowego jako frontend.
31 %package -n perl-FemFind-ConfigReader
32 Summary: FemFind - crawl your network resources
33 Summary(pl): FemFind - przeszukiwanie zasobów sieciowych
34 Group: Development/Languages/Perl
36 %description -n perl-FemFind-ConfigReader
37 FemFind::ConfigReader perl module for FemFind.
39 %description -n perl-FemFind-ConfigReader -l pl
40 Perlowy modu³ FemFind::ConfigReader dla FemFinda.
42 %package -n perl-FemFind-Helper
43 Summary: FemFind - crawl your network resources
44 Summary(pl): FemFind - przeszukiwanie zasobów sieciowych
45 Group: Development/Languages/Perl
47 %description -n perl-FemFind-Helper
48 FemFind::Helper perl module for FemFind.
50 %description -n perl-FemFind-Helper -l pl
51 Perlowy modu³ FemFind::Helper dla FemFinda.
53 %package -n FemFind-cgi
54 Summary: FemFind - crawl your network resources
55 Summary(pl): FemFind - przeszukiwanie zasobów sieciowych
56 Group: Networking/Utilities
58 %description -n FemFind-cgi
59 CGI scripts for FemFind frontend.
61 %description -n FemFind-cgi -l pl
62 Skrypty CGI do frontendu FemFinda.
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/sysconfig,%{_bindir},%{_sbindir}}
81 install -d $RPM_BUILD_ROOT{%{_wwwsite},%{_cgisite}/german}
83 for i in Helper ConfigReader; do
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
89 install femfind.conf $RPM_BUILD_ROOT%{_sysconfdir}
90 install makedb.pl $RPM_BUILD_ROOT%{_sbindir}
91 install crawler.pl $RPM_BUILD_ROOT%{_bindir}
92 install german/* $RPM_BUILD_ROOT%{_cgisite}/german
93 install cgi-bin/femfind/* $RPM_BUILD_ROOT%{_cgisite}
94 install htdocs/femfind/* $RPM_BUILD_ROOT%{_wwwsite}
97 rm -rf $RPM_BUILD_ROOT
100 %defattr(644,root,root,755)
102 %attr(644,root,root) %config(noreplace) %{_sysconfdir}/femfind.conf
103 %attr(755,root,root) %{_sbindir}/makedb.pl
104 %attr(755,root,root) %{_bindir}/crawler.pl
106 %files -n perl-FemFind-ConfigReader
107 %defattr(644,root,root,755)
108 %{perl_sitelib}/FemFind/*.pm
110 %files -n perl-FemFind-Helper
111 %defattr(644,root,root,755)
112 %{perl_sitelib}/FemFind/*.pm
113 %{_mandir}/man3/FemFind::Helper.3pm.gz
115 %files -n FemFind-cgi
116 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_cgisite}/german/*.pl
120 %attr(644,root,root) %{_cgisite}/german/*.html
121 %attr(755,root,root) %{_cgisite}/*.pl
122 %attr(644,root,root) %{_cgisite}/*.html
123 %attr(644,root,root) %{_cgisite}/ftp_list
124 %attr(644,root,root) %{_wwwsite}/*