Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
namazu
namazu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File namazu.spec of Package namazu
# # spec file for package namazu # # Copyright (c) 2012 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/ # Name: namazu BuildRequires: kakasi-devel BuildRequires: libtool BuildRequires: nkf BuildRequires: perl-File-MMagic BuildRequires: perl-NKF BuildRequires: perl-Text-ChaSen BuildRequires: perl-Text-Kakasi Requires: kakasi >= 2.3.0 Requires: nkf >= 1.70 Requires: perl >= 5.8.0 Requires: perl-File-MMagic >= 1.20 Requires: perl-NKF >= 1.70 Requires: perl-Text-Kakasi >= 1.00 Version: 2.0.21 Release: 0 Url: http://www.namazu.org/ Source0: http://www.namazu.org/stable/%{name}-%{version}.tar.gz Patch0: linguas.patch Patch2: configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Full-Text Search Engine License: GPL-2.0+ Group: Productivity/Networking/Web/Utilities #Summary(ja): 全文検索シス テムです。 # %description -l ja # Namazu は手軽に使えることを第一に目指した日本語全文検索シ # ステムです。CGI として動作させることにより小中規模の WWW # 全文検索システムを構築することができるほか、コマンドライ # ンやEmacs上で電子メイルの山を検索するといった個人用途にも # 使えます。 %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. %package -n namazu-devel Summary: Header files and libraries of Namazu Group: Productivity/Networking/Web/Utilities # Summary(ja): Namazu のヘッダファイル及びライブラリです。 Requires: %{name} = %{version} # %description -n namazu-devel -l ja # Namazuのヘッダファイル及びライブラリです。 %description -n namazu-devel header files and libraries of Namazu %package -n namazu-cgi Summary: A CGI interface for Namazu Group: Productivity/Networking/Web/Utilities # Summary(ja): Namazu のためのCGIインタフェース # Requires: webserver # %description -n namazu-cgi -l ja # Namazu のためのCGIインタフェース %description -n namazu-cgi a CGI interface for Namazu %prep %setup0 -q %patch0 -p1 -b .linguas %patch2 -p1 -b .config %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