Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
namazu
namazu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File namazu.spec of Package namazu
# # spec file for package namazu # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: namazu BuildRequires: kakasi-devel nkf perl-File-MMagic perl-NKF perl-Text-ChaSen perl-Text-Kakasi License: GPLv2+ Group: Productivity/Networking/Web/Utilities Requires: perl >= 5.8.0, perl-File-MMagic >= 1.20, nkf >= 1.70, perl-NKF >= 1.70 Requires: kakasi >= 2.3.0, perl-Text-Kakasi >= 1.00 AutoReqProv: on Version: 2.0.20 Release: 5.<RELEASE6> Url: http://www.namazu.org/ # Original Source is gzipped. Source0: http://www.namazu.org/stable/%{name}-%{version}.tar.bz2 Patch0: linguas.patch Patch2: configure.patch Patch3: namazu-2.0.18-CVE-2011-4345-XSS.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Full-Text Search Engine #Summary(ja): 全文検索シス テムです。 # %description -l ja # Namazu は手軽に使えることを第一に目指した日本語全文検索シ # ステムです。CGI として動作させることにより小中規模の WWW # 全文検索システムを構築することができるほか、コマンドライ # ンやEmacs上で電子メイルの山を検索するといった個人用途にも # 使えます。 # # Authors: # -------- # Satoru Takabayashi <satoru@namazu.org> # knok@daionet.gr.jp (NOKUBI Takatsugu) # Yukinori MAEDA <yuki@myu.org> # Ken-ichi Hirose <kenzo-@tama.or.jp> # masao@ulis.ac.jp (Masao Takaku) # Ryuji Abe <raeva@t3.rim.or.jp> # Hajime BABA <baba@kusastro.kyoto-u.ac.jp> # KOSEKI Yoshinori <kose@wizard.tamra.co.jp> # Rei FURUKAWA <furukawa@tcp-ip.or.jp> # Makoto Fujiwara <makoto@ki.nu> # Kenji Suzuki <kenji@po.ganseki.ne.jp> # MIYOSHI Masanori <miyoshi@ask.ne.jp> # Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> # Jose Juan Zapater Vera <compi@arrakis.es> # Yoshinori TAKESAKO <takesako@robotics.im.hiroshima-cu.ac.jp> # SATOH Fumiyasu <fumiya@samba.gr.jp> %description Namazu is a full-text search engine software intended for easy use. It works not only as a CGI program for small or medium scale WWW search engines, but also works for personal use such as a search system for the local hard disk. Authors: -------- Satoru Takabayashi <satoru@namazu.org> knok@daionet.gr.jp (NOKUBI Takatsugu) Yukinori MAEDA <yuki@myu.org> Ken-ichi Hirose <kenzo-@tama.or.jp> masao@ulis.ac.jp (Masao Takaku) Ryuji Abe <raeva@t3.rim.or.jp> Hajime BABA <baba@kusastro.kyoto-u.ac.jp> KOSEKI Yoshinori <kose@wizard.tamra.co.jp> Rei FURUKAWA <furukawa@tcp-ip.or.jp> Makoto Fujiwara <makoto@ki.nu> Kenji Suzuki <kenji@po.ganseki.ne.jp> MIYOSHI Masanori <miyoshi@ask.ne.jp> Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> Jose Juan Zapater Vera <compi@arrakis.es> Yoshinori TAKESAKO <takesako@robotics.im.hiroshima-cu.ac.jp> SATOH Fumiyasu <fumiya@samba.gr.jp> %package -n namazu-devel License: GPLv2+ Summary: Header files and libraries of Namazu # Summary(ja): Namazu のヘッダファイル及びライブラリです。 Group: Productivity/Networking/Web/Utilities Requires: %{name} = %{version} # %description -n namazu-devel -l ja # Namazuのヘッダファイル及びライブラリです。 %description -n namazu-devel header files and libraries of Namazu Authors: -------- Satoru Takabayashi <satoru@namazu.org> knok@daionet.gr.jp (NOKUBI Takatsugu) Yukinori MAEDA <yuki@myu.org> Ken-ichi Hirose <kenzo-@tama.or.jp> masao@ulis.ac.jp (Masao Takaku) Ryuji Abe <raeva@t3.rim.or.jp> Hajime BABA <baba@kusastro.kyoto-u.ac.jp> KOSEKI Yoshinori <kose@wizard.tamra.co.jp> Rei FURUKAWA <furukawa@tcp-ip.or.jp> Makoto Fujiwara <makoto@ki.nu> Kenji Suzuki <kenji@po.ganseki.ne.jp> MIYOSHI Masanori <miyoshi@ask.ne.jp> Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> Jose Juan Zapater Vera <compi@arrakis.es> Yoshinori TAKESAKO <takesako@robotics.im.hiroshima-cu.ac.jp> SATOH Fumiyasu <fumiya@samba.gr.jp> %package -n namazu-cgi License: GPLv2+ Summary: A CGI interface for Namazu # Summary(ja): Namazu のためのCGIインタフェース Group: Productivity/Networking/Web/Utilities # Requires: webserver # %description -n namazu-cgi -l ja # Namazu のためのCGIインタフェース %description -n namazu-cgi a CGI interface for Namazu Authors: -------- Satoru Takabayashi <satoru@namazu.org> knok@daionet.gr.jp (NOKUBI Takatsugu) Yukinori MAEDA <yuki@myu.org> Ken-ichi Hirose <kenzo-@tama.or.jp> masao@ulis.ac.jp (Masao Takaku) Ryuji Abe <raeva@t3.rim.or.jp> Hajime BABA <baba@kusastro.kyoto-u.ac.jp> KOSEKI Yoshinori <kose@wizard.tamra.co.jp> Rei FURUKAWA <furukawa@tcp-ip.or.jp> Makoto Fujiwara <makoto@ki.nu> Kenji Suzuki <kenji@po.ganseki.ne.jp> MIYOSHI Masanori <miyoshi@ask.ne.jp> Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> Jose Juan Zapater Vera <compi@arrakis.es> Yoshinori TAKESAKO <takesako@robotics.im.hiroshima-cu.ac.jp> SATOH Fumiyasu <fumiya@samba.gr.jp> %prep %setup0 -q %patch0 -p1 -b .linguas %patch2 -p1 -b .config %patch3 -p1 chmod +x tests/ja-namazu-cgi-3 %build # XXX is this right - it was /var/lib before FHS macros %define _localstatedir /var/lib %define _libexecdir /srv/www/cgi-bin autoreconf --force --install test -f po/Makevars || mv po/Makevars.template po/Makevars export CFLAGS="$RPM_OPT_FLAGS" %configure --disable-static --with-pic \ --with-perl5=/usr/bin/perl make %install mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/namazu \ $RPM_BUILD_ROOT/%{_libexecdir} make DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} install mv %{buildroot}%{_sysconfdir}/namazu/namazurc-sample \ %{buildroot}%{_sysconfdir}/namazu/namazurc mv %{buildroot}%{_sysconfdir}/namazu/mknmzrc-sample \ %{buildroot}%{_sysconfdir}/namazu/mknmzrc chmod a+rw -R %{buildroot}%{_localstatedir}/namazu chmod a+rw -R %{buildroot}%{_localstatedir}/namazu/index mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/namazu/ pushd $RPM_BUILD_ROOT/%{_defaultdocdir}/namazu/ ln -s %{_datadir}/namazu/doc . ln -s %{_datadir}/namazu/etc . popd # install (X)Emacs lisp code: mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp install -p -m 644 lisp/gnus-nmz-1.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp install -p -m 644 lisp/namazu.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp mkdir -p $RPM_BUILD_ROOT/usr/share/xemacs/site-lisp/lisp install -p -m 644 lisp/gnus-nmz-1.el $RPM_BUILD_ROOT/usr/share/xemacs/site-lisp/lisp install -p -m 644 lisp/namazu.el $RPM_BUILD_ROOT/usr/share/xemacs/site-lisp/lisp %{find_lang} namazu %clean rm -rf $RPM_BUILD_ROOT; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f namazu.lang %defattr(-, root, root) %doc %dir %{_defaultdocdir}/namazu/ %doc %{_defaultdocdir}/namazu/* %dir %{_sysconfdir}/namazu/ %config(noreplace) %{_sysconfdir}/namazu/* %{_bindir}/namazu %{_bindir}/bnamazu %{_bindir}/*nmz %{_bindir}/mailutime %{_bindir}/nmzgrep %{_bindir}/nmzegrep %{_bindir}/nmzmerge %{_bindir}/nmzcat %{_libdir}/*.so.* %{_mandir}/man1/* %{_datadir}/namazu %attr(755,root,root) %dir %{_localstatedir}/namazu %attr(755,root,root) %dir %{_localstatedir}/namazu/index %dir /usr/share/emacs/ %dir /usr/share/emacs/site-lisp/ /usr/share/emacs/site-lisp/* %dir /usr/share/xemacs/ %dir /usr/share/xemacs/site-lisp/ %dir /usr/share/xemacs/site-lisp/lisp/ /usr/share/xemacs/site-lisp/lisp/* %files devel %defattr(-, root, root) %{_bindir}/nmz-config %dir %{_includedir}/namazu/ %{_includedir}/namazu/*.h %{_libdir}/*.so %exclude %{_libdir}/*.la %files cgi %defattr(-, root, root) %{_libexecdir}/namazu.cgi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor