File: slash.spec

package info (click to toggle)
slash 2.2.6-8etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,672 kB
  • ctags: 1,915
  • sloc: perl: 23,113; sql: 1,878; sh: 433; makefile: 233
file content (46 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary: Slashdot-Like Automated Story Homepage
Name: slash
Version: 2.0.0_pre1
Release: 1
Copyright: GPL
Group: Applications/Internet
Source: ftp://ftp.slashcode.com/pub/slashcode/slash-2.0.0-pre1.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot

%description
Slash is a database-driven news and message board, using Perl, Apache and mySQL.
It is the code that runs Slashdot. For forums, support, mailing lists, etc.
please see the Slashcode site.

%prep
%setup -q -n slash-2.0.0-pre1

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" SLASH_PREFIX=$RPM_BUILD_ROOT/usr/local/slash INIT=$RPM_BUILD_ROOT/etc USER=99 GROUP=99 RPM=1

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/etc/rc3.d
mkdir -p $RPM_BUILD_ROOT/etc/rc6.d
make install RPM_OPT_FLAGS="$RPM_OPT_FLAGS" SLASH_PREFIX=/var/tmp/%{name}-buildroot/usr/local/slash INIT=/var/tmp/%{name}-buildroot/etc USER=99 GROUP=99 RPM=1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-,nobody,nobody)
%doc AUTHORS CHANGES COPYING INSTALL INSTALL.rpm MANIFEST MANIFEST.SKIP README

/etc/init.d/slash
/etc/rc3.d/S99slash
/etc/rc6.d/K99slash
%{_libdir}/perl5/site_perl/*/*/auto/Slash*
%{_libdir}/perl5/site_perl/*/*/Slash*
%{_libdir}/perl5/site_perl/*/Slash*
%{_mandir}/man3/Slash*
/usr/local/slash*

%changelog
* Wed Mar 21 2001 Jonathan Pater <pater@slashdot.org>
- Initial Package