OSDN Git Service

fix LANG.
[rec10/rec10-git.git] / rectool / trunk / rpm / SPECS / rectool.spec
1 Name:           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-CGI perl-Config-Simple perl-Data-Dumper-Concise perl-Date-Simple perl-DateTime perl-DBI perl-File-Slurp perl-Sort-Naturally perl-Time-Piece perl-Tie-IxHash perl-List-Compare perl-XML-Atom
16
17 %description
18 rectool-0.0.1
19
20 %prep
21 rm -rf $RPM_BUILD_ROOT
22 %__mkdir -p $RPM_BUILD_ROOT/usr/share/rec10/rectool/
23 %__mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d/
24 %__mkdir -p $RPM_BUILD_ROOT/var/www/html/rec10/
25
26 %build
27
28
29 %install
30 #rm -rf $RPM_BUILD_ROOT
31 %__cp $RPM_SOURCE_DIR/rectool.pl $RPM_BUILD_ROOT/usr/share/rec10/rectool/
32 %__cp $RPM_SOURCE_DIR/rec10.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
33 ln -sf /usr/share/rec10/rectool/rectool.pl $RPM_BUILD_ROOT/var/www/html/rec10/
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38
39 %files
40 %defattr(-,root,root,-)
41 %doc
42 %{_datadir}/rec10/rectool/rectool.pl
43 /etc/httpd/conf.d/rec10.conf
44 /var/www/html/rec10/rectool.pl
45
46
47 %changelog
48