File majorcoo.spec of Package majorcoo

#
# spec file for package majorcoo (Version 1.3.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           majorcoo
License:        Other License(s), see package
Group:          Productivity/Networking/Web/Frontends
Provides:       majorcool
Requires:       majordomo
Autoreqprov:    on
Version:        1.3.2
Release:        773
Summary:        Cool Web Interface to Majordomo v1.9x
Source:         http://ncrinfo.ncr.com/pub/contrib/unix/MajorCool/majorcool.tar.bz2
Patch:          majorcool-1.3.2.diff
Patch1:         majorcool-1.3.2.scripts.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
MajorCool is a CGI script written in Perl that provides a Web interface
to Majordomo v1.9x*. It is intended to run colocated with the Majordomo
program (both list server and Web on the same host). Employing a
variety of Web and GUI techniques, such as Balloon Help, Per-User
Preferences, and MouseOver cues, MajorCool puts a friendly face on top
of the Majordomo list management processes.

MajorCool was originally designed as an administrative front-end to the
popular mailing list manager, allowing novice list owners to manage
their list configuration and subscriber base. With the easy-to-use
password protected screens, list managers can:

-    Edit the list config file. Presentation of the complex list
   configuration file is simplified through the intuitive use of
   HTML radio buttons and text fields.

-    Update the subscriber file via an easy-to-use text window.
   Changes to the list are converted to the appropriate individual
   approved subscribe and unsubscribe commands.

-    Manage the moderator's Approval Queue, deleting, rejecting, or
   approving BOUNCE messages that require review. No more messing
   with mail headers.

-    Edit files in the Approval Queue prior to action. Limited only
   by browser memory constraints.

-    Create or edit the list's info and intro files.

-    Download the list configuration file via e-mail.

In addition to its list administration functions, MajorCool also
provides a site-oriented view of the list server's lists. MajorCool
extends the address matching capabilities of Majordomo through the use
of configurable siteaddr modules, permitting external directory sources
such as X.500 to supply name-to-address conversions and provide
pattern-matching address comparisons. These features enable MajorCool
to identify list subscribers by multiple valid addresses, allowing
end-users to interactively:

-    View lists available on the server: All lists on the system
   Unsubscribed lists Subscribed lists (regardless of the address
   used for subscription) Lists with names or descriptions that
   match a certain pattern

-    Subscribe or unsubscribe to any list

-    View the list's info or intro files

-    View members of a list

Lastly, MajorCool provides a mailing list request mechanism, allowing
end users to ask that a list be created, renamed, or deleted. This
request can be mailed to the Majordomo owner or passed to an external
program to perform whatever actions are desired. Sample applications
are provided to implement list creation, renaming, and deletion
on-the-fly.

To configure MajorCool, change to /usr/lib/majorcool and run 'sh
./Configure'. This script prompts for some installation values and
saves the output to a default.sh file. This file can be edited at any
time.

For more details, see "/usr/lib/majorcool/Docs/install.htm".



Authors:
--------
    Bill Houle <bhoule@airfiberinc.com>
    Rick Hernandez <rick@sparc.sandiegoca.ncr.com>
    Tom Moore <tom.moore@daytonoh.ncr.com>
    Dave A. Roger <daroger@tisc.com>
    Marisa Giancarla <marisa@andromedia.com>
    Tom White <tom@net.msstate.edu>
    Karsten Mueller <karsten@zora.nadir.org>
    Ricardo Marek <ricky@ornet.co.il>
    Steve Snodgrass <ssnodgra@fore.com>
    Rick Perry <perry@news.ee.vill.edu>
    Gunnar Helliesen <gunnar@bitcon.no>
    Cary Canning <Cary.Canning@SanDiegoCA.NCR.COM>
    Robin Cooper.Wood <Robin.Cooper.Wood@SanDiegoCA.NCR.COM>

%prep
%setup -c -a 0
%patch
%patch -P 1

%build
for i in mj_key_cache majorcool.pl majorcool.cgi ; do
  sed -i -e "s@PERLBIN@/usr/bin/perl@" $i
done
chmod 755 contrib/mj_build_aliases2.pl

%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/majorcool
cp -a *  $RPM_BUILD_ROOT/usr/lib/majorcool
find $RPM_BUILD_ROOT/usr/lib/majorcool -name '*.orig' -exec rm -f {} \;
find $RPM_BUILD_ROOT/usr/lib/majorcool -name '*.bak' -exec rm -f {} \;
mkdir -p                  $RPM_BUILD_ROOT/%{_defaultdocdir}
UPLNK=$(echo %{_defaultdocdir} | sed 's#^/##;s#[^/]\+#..#g')
ln -s $UPLNK/usr/lib/majorcool $RPM_BUILD_ROOT/%{_defaultdocdir}/majorcool

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
	/usr/lib/majorcool
%doc	%{_defaultdocdir}/majorcool

%changelog
* Sat May 26 2007 - ro@suse.de
- set script interpreter
- (package needs more work)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 08 2005 - dmueller@suse.de
- don't build as root
* Wed Mar 24 2004 - ro@suse.de
- remove .bak files from package
* Mon Aug 05 2002 - kukuk@suse.de
- Correct requires (mdomo -> majordomo)
* Wed May 09 2001 - mfabian@suse.de
- bzip2 sources
* Mon Dec 04 2000 - ma@suse.de
- create rel. symlinks according to actual depth of %%_defaultdocdir
  (/usr/[share/]doc)
* Tue Oct 31 2000 - ma@suse.de
- removed group unsorted
* Tue Jun 06 2000 - ro@suse.de
- doc relocation
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Sep 09 1999 - bs@suse.de
- fixed call of Check at the end of %%install section
* Fri Jul 09 1999 - ma@suse.de
- new package (majorcool-1.3.2)
openSUSE Build Service is sponsored by