SPECS: FAQ-OMatic.spec (NEW) - moved from faqomatic.spec, some cle...
qboosh
qboosh at pld-linux.org
Mon Mar 27 13:26:53 CEST 2006
Author: qboosh Date: Mon Mar 27 11:26:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- moved from faqomatic.spec, some cleanups
---- Files affected:
SPECS:
FAQ-OMatic.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/FAQ-OMatic.spec
diff -u /dev/null SPECS/FAQ-OMatic.spec:1.1
--- /dev/null Mon Mar 27 13:26:53 2006
+++ SPECS/FAQ-OMatic.spec Mon Mar 27 13:26:48 2006
@@ -0,0 +1,130 @@
+# $Revision$, $Date$
+# TODO: webapp config
+%include /usr/lib/rpm/macros.perl
+Summary: Faq-O-Matic - a CGI-based system that automates the process of maintaining a FAQ
+Summary(pl): Faq-O-Matic - oparty o CGI system automatyzujący proces utrzymywania FAQ
+Name: FAQ-OMatic
+Version: 2.721
+Release: 1.1
+License: GPL
+Group: Applications/WWW
+Source0: http://dl.sourceforge.net/faqomatic/%{name}-%{version}.tar.gz
+# Source0-md5: 44a0b0fbe58d07ee3b54c21434829514
+Patch0: faqomatic-tmp-pass.patch
+URL: http://faqomatic.sourceforge.net/
+BuildRequires: rpm-perlprov >= 4.1-13
+Requires: webserver = apache
+Requires: rcs
+Obsoletes: perl-FAQ-OMatic
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define appdir /home/services/httpd/cgi-bin
+# TODO (after providing webapp config)
+#define appdir /var/lib/%{name}
+
+%description
+The Faq-O-Matic is a CGI-based system that automates the process of
+maintaining a FAQ (or Frequently Asked Questions list). It allows
+visitors to your FAQ to take part in keeping it up-to-date. A
+permission system also makes it useful as a help-desk application,
+bug-tracking database, or documentation system.
+
+%description -l pl
+Faq-O-Matic to oparty o CGI system automatyzujący proces utrzymywania
+FAQ (Frequently Asked Questions - listy najczęściej zadawanych pytań).
+Pozwala gościom FAQ pomagać w uaktualnianiu go. Ma system uprawnień,
+dzięki czemu jest przydatny także jako aplikacja helpdeskowa, baza
+danych do śledzenia błędów lub system dokumentacji.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+sed -i -e 's,/usr/local/share/perl5,%{perl_vendorlib},' fom
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{appdir}/fom-meta
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install fom $RPM_BUILD_ROOT%{appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+echo "Use password from %{_docdir}/%{name}-%{version}/fom_pass.txt.gz to activate your FAQ-OMatic."
+echo "I.e.: gzip -cd %{_docdir}/%{name}-%{version}/fom_pass.txt.gz or sth like that."
+
+%files
+%defattr(644,root,root,755)
+%doc Changes LICENSE README fom_pass.txt
+%attr(755,root,root) %{appdir}/fom
+%attr(775,root,http) %dir %{appdir}/fom-meta
+%dir %{perl_vendorlib}/FAQ
+%{perl_vendorlib}/FAQ/*.pm
+%dir %{perl_vendorlib}/FAQ/OMatic
+%{perl_vendorlib}/FAQ/OMatic/*.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/03/27 11:26:48 qboosh
+- moved from faqomatic.spec, some cleanups
+
+Revision 1.11 2005/11/20 22:36:24 glen
+- use virtual webserver provide
+
+Revision 1.10 2005/06/26 19:20:01 qboosh
+- noted name mess to resolve
+
+Revision 1.9 2005/06/26 16:17:31 blekot
+- up to 2.721
+
+Revision 1.8 2004/02/22 00:35:12 andree
+- back to /home/services
+
+Revision 1.7 2004/02/18 14:38:20 andree
+- /home/services -> /srv (FHS 2.3)
+
+Revision 1.6 2003/07/31 19:51:49 qboosh
+- pl should be pl, cleanups, moved perl modules into perl_vendorlib
+- changed cgi script perms to be non-writable by httpd
+
+Revision 1.5 2003/07/29 14:39:35 yoshi
+- Changed: %define _httpdir /home/services/httpd
+
+Revision 1.4 2003/07/29 13:21:27 yoshi
+- Password moved to %{_datadir}/doc/%{name}-%{version}/fom_pass.txt.gz
+ which is generated during build. Shouldn't it be generated during %post?
+- Improved %post
+- Some bugfixing, file attributes changed...
+- +BR: rcs
+
+Revision 1.3 2003/07/29 12:17:35 yoshi
+- Added %post section with password information. Consider using non-fixed
+ password...
+- Added %{_httpdir}, so people can use it with multiple versions of httpd
+- Some cleanups
+- Now it really works ;)
+
+Revision 1.2 2003/07/29 11:20:42 yoshi
+- md5sum added
+- patch added
+- typo: s/LICENCE/LICENSE
+
+Revision 1.1 2003/07/29 11:10:35 yoshi
+- Initial PLD spec
================================================================
More information about the pld-cvs-commit
mailing list