[Momonga-devel.ja:00679] acid spec error
- From: "Kikutani, Makoto" <poo@xxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Oct 2002 21:20:44 -0400
ACIDの新しいのが出たので、specをいじったのですが、次のようなエラーが出ます。
.rpm自体はできるのですが、なんかpermissionがへん。
+ cp -pr CHANGELOG.gz CREDITS.gz INSTALL-momonga.gz README.gz TODO.gz create_acid_tbls_mssql.sql.gz create_acid_tbls_mssql_extra.sql.gz create_acid_tbls_mysql.sql.gz create_acid_tbls_pgsql.sql.gz create_acid_tbls_pgsql_extra.sql.gz /var/tmp/acid-0.9.6b22-root/usr/share/doc/acid-0.9.6b22
+ exit 0
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
error: line 60: Dependency tokens must begin with alpha-numeric, '_' or '/': - I made this based on PLD Linux's spec
error: Failed to find Requires:
PreReq: rpm >= 4.0-1 rpm >= 3.0.4-1
どうも私には理解できないので、どなたか教えてください。
新しいspecを添付します。
--
Kikutani, Makoto
Summary: Analysis Console for Incident Databases
Name: acid
Version: 0.9.6b22
Release: 1m
Group: Applications/Internet
License: GPL
Source0: http://acidlab.sourceforge.net/%{name}-%{version}.tar.gz
Source1: acid-htaccess
Source2: INSTALL-momonga
Patch0: %{name}-config.patch
NoSource: 0
URL: http://acidlab.sourceforge.net/
Requires: snort >= 1.8.7-2m
Requires: adodb >= 0.93
Requires: phplot >= 4.4.6
Requires: php >= 4.0.4
Requires: apache,relational-database,php_database
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
ACID is a PHP-based analysis engine to search and process a database
of security incidents generated by the security-related software such
as the NIDS Snort.
%prep
%setup -q -n %{name}
%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/home/httpd/html/%{name}
install acid* index.html $RPM_BUILD_ROOT/home/httpd/html/%{name}
cp %{SOURCE1} $RPM_BUILD_ROOT/home/httpd/html/%{name}/.htaccess
cp %{SOURCE2} .
gzip -9nf create* CHANGELOG CREDITS README TODO INSTALL-momonga
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc *.gz
%attr(750,root,root) %dir /home/httpd/html/%{name}
%attr(640,root,apache) /home/httpd/html/%{name}/*
%attr(640,root,apache) /home/httpd/html/%{name}/.htaccess
%changelog
* Fri Oct 25 2002 Kikutani Makoto <poo@xxxxxxxxxxxxxxxxx>
- (0.9.6b22-1m)
- new upstream version
* Sun Jul 21 2002 Kikutani Makoto <poo@xxxxxxxxxxxxxxxxx>
- (0.9.6b21-1m)
- 1st Momonga version
- I made this based on PLD Linux's spec