OSDN Git Service

update to db ver 102
[rec10/rec10-git.git] / rectool / trunk / rectool.spec
1 Name:           rec10-rectool
2 Version:        0.0.1
3 Release:        1%{?dist}
4 Summary:        rec10 web interface
5
6 Group:          Utilities
7 License:        Unknown
8 URL:            http://www.rec10.org/
9 Source0:        rectool.pl
10 Source1:        rec10.conf
11 BuildArch:      noarch
12 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
13
14 BuildRequires:  make
15 Requires:       perl-Algorithm-Diff perl-Archive-Zip perl-CGI perl-Config-Simple perl-Data-Dumper-Concise
16 Requires:       perl-Date-Simple perl-DateTime perl-DBI perl-File-Slurp perl-Sort-Naturally perl-SVG
17 Requires:       perl-Time-Piece perl-Tie-IxHash perl-List-Compare perl-XML-Atom
18
19 %description
20 rectool-0.0.1
21
22 %prep
23 rm -rf $RPM_BUILD_ROOT
24
25 %build
26
27
28 %install
29 #rm -rf $RPM_BUILD_ROOT
30 %__mkdir -p $RPM_BUILD_ROOT/usr/share/rec10/rectool/
31 %__mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d/
32 %__mkdir -p $RPM_BUILD_ROOT/var/www/html/rec10/
33 %__cp $RPM_SOURCE_DIR/rectool.pl $RPM_BUILD_ROOT/usr/share/rec10/rectool/
34 %__cp $RPM_SOURCE_DIR/rec10.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
35 ln -sf /usr/share/rec10/rectool/rectool.pl $RPM_BUILD_ROOT/var/www/html/rec10/
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40
41 %files
42 %defattr(-,root,root,-)
43 %doc
44 %{_datadir}/rec10/rectool/rectool.pl
45 /etc/httpd/conf.d/rec10.conf
46 /var/www/html/rec10/rectool.pl
47
48
49 %changelog
50