Author: glen                         Date: Wed Feb 28 16:40:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add to pld cvs

---- Files affected:
SPECS:
   ConferenceRoom.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ConferenceRoom.spec
diff -u /dev/null SPECS/ConferenceRoom.spec:1.1
--- /dev/null   Wed Feb 28 17:40:56 2007
+++ SPECS/ConferenceRoom.spec   Wed Feb 28 17:40:51 2007
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+Summary:       ConferenceRoom IRC Server
+Name:          ConferenceRoom
+Version:       1.8.9.1
+Release:       0.1
+License:       not distributable
+Group:         Applications/Communications
+Source0:       CR%{version}-Linux.tar.gz
+# NoSource0-md5:       ee92ada3f47d6da20f4855c1d5710e92
+NoSource:      0
+URL:           http://www.conferenceroom.com/
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Provides:      group(ircd)
+Provides:      user(ircd)
+ExclusiveArch: %{ix86}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# already stripped
+%define                no_install_post_strip           1
+%define                no_install_post_chrpath         1
+
+%description
+ConferenceRoom is an IRC Daemon.
+
+%prep
+%setup -q -n CR%{version}-Linux
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_datadir},%{_libdir},/var/{lib,log}}/%{name}
+cp -a programs/* $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -a db/*.base $RPM_BUILD_ROOT/var/lib/%{name}
+cp -a htdocs template variables $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+%groupadd -g 75 ircd
+%useradd -u 75 -d %{_datadir} -g ircd -c "ConferenceRoom IRCD" ircd
+
+%postun
+if [ "$1" = "0" ]; then
+       %userremove ircd
+       %groupremove ircd
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.TXT PLATFORM README RELEASE
+%dir %{_libdir}
+%attr(755,root,root) %{_libdir}/*
+%{_datadir}/%{name}
+/var/lib/cr
+/var/log/cr
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/28 16:40:51  glen
+- add to pld cvs
+
+Revision 1.7  2007/01/29 17:30:33  glen
+- add Source0-md5
+
+Revision 1.6  2007/01/08 12:54:33  glen
+- adapter
+
+Revision 1.5  2006/02/14 13:08:11  glen
+- save
+
+Revision 1.4  2005/11/20 01:57:22  glen
+- downgrade to 1.8.9.1, which we use now
+
+Revision 1.3  2005/11/20 01:48:16  glen
+- create ircd uid/gid
+
+Revision 1.2  2005/05/25 20:18:10  glen
+- constistency with dir names
+
+Revision 1.1  2005/05/25 20:15:06  glen
+- initial (not tested)
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to