]> git.pld-linux.org Git - packages/ConferenceRoom.git/blob - ConferenceRoom.spec
- pl fixes
[packages/ConferenceRoom.git] / ConferenceRoom.spec
1 Summary:        ConferenceRoom IRC Server
2 Summary(pl.UTF-8):      ConferenceRoom - serwer IRC
3 Name:           ConferenceRoom
4 Version:        1.8.9.1
5 Release:        0.1
6 License:        not distributable
7 Group:          Applications/Communications
8 Source0:        CR%{version}-Linux.tar.gz
9 # NoSource0-md5:        ee92ada3f47d6da20f4855c1d5710e92
10 NoSource:       0
11 URL:            http://www.conferenceroom.com/
12 Requires(postun):       /usr/sbin/groupdel
13 Requires(postun):       /usr/sbin/userdel
14 Requires(pre):  /bin/id
15 Requires(pre):  /usr/bin/getgid
16 Requires(pre):  /usr/sbin/groupadd
17 Requires(pre):  /usr/sbin/useradd
18 Provides:       group(ircd)
19 Provides:       user(ircd)
20 ExclusiveArch:  %{ix86}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # already stripped
24 %define         no_install_post_strip           1
25 %define         no_install_post_chrpath         1
26
27 %description
28 ConferenceRoom is an IRC Daemon.
29
30 %description -l pl.UTF-8
31 ConferenceRoom to serwer IRC-a.
32
33 %prep
34 %setup -q -n CR%{version}-Linux
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT{%{_datadir},%{_libdir},/var/{lib,log}}/cr
40 cp -a programs/* $RPM_BUILD_ROOT%{_libdir}/cr
41 cp -a db/*.base $RPM_BUILD_ROOT/var/lib/cr
42 cp -a htdocs template variables $RPM_BUILD_ROOT%{_datadir}/cr
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %pre
48 %groupadd -g 75 ircd
49 %useradd -u 75 -d %{_datadir} -g ircd -c "ConferenceRoom IRCD" ircd
50
51 %postun
52 if [ "$1" = "0" ]; then
53         %userremove ircd
54         %groupremove ircd
55 fi
56
57 %files
58 %defattr(644,root,root,755)
59 %doc LICENSE.TXT PLATFORM README RELEASE
60 %dir %{_libdir}
61 %attr(755,root,root) %{_libdir}/*
62 %{_datadir}/cr
63 /var/lib/cr
64 /var/log/cr
This page took 0.073672 seconds and 4 git commands to generate.