]> git.pld-linux.org Git - packages/phpBB.git/commitdiff
- initial release - STBR
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 15 Oct 2002 15:44:08 +0000 (15:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phpBB.spec -> 1.1

phpBB.spec [new file with mode: 0644]

diff --git a/phpBB.spec b/phpBB.spec
new file mode 100644 (file)
index 0000000..adf3ba3
--- /dev/null
@@ -0,0 +1,56 @@
+Summary:       A feature-rich PHP discussion board
+Summary(pl):   phpBB
+Name:          phpBB
+Version:       2.0.3
+Release:       1
+License:       GPL v2
+Group:         Applications/Databases/Interfaces
+Source0:       http://prdownloads.sourceforge.net/phpbb/%{name}-%{version}.tar.gz
+URL:           http://www.phpbb.com/
+Requires:      mysql
+Requires:      php-mysql >= 4.1.0
+Requires:      webserver
+Buildarch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _phpdir /home/httpd/html/phpBB
+
+%description
+phpBB is a UBB-style dissussion board written in PHP backended by a
+MySQL database. It includes features such as posting/replying/editing
+messages, private messages, private forums, user and anonymous
+posting, robust theming, user ranking by posts or by special, admin
+definable, ranks, and much more.
+
+%prep
+%setup -q -n %{name}2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_phpdir}/{admin,db,images,includes,language,templates}
+
+install *.{php,inc}    $RPM_BUILD_ROOT%{_phpdir}
+install admin/*.php    $RPM_BUILD_ROOT%{_phpdir}/admin
+install db/*.php       $RPM_BUILD_ROOT%{_phpdir}/db
+install includes/*.php $RPM_BUILD_ROOT%{_phpdir}/includes
+
+cp -R images/*         $RPM_BUILD_ROOT%{_phpdir}/images
+cp -R language/*       $RPM_BUILD_ROOT%{_phpdir}/language
+cp -R templates/*      $RPM_BUILD_ROOT%{_phpdir}/templates
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/* db/schemas/*
+%dir %{_phpdir}
+%{_phpdir}/*.php
+%{_phpdir}/*.inc
+%{_phpdir}/admin/*.php
+%{_phpdir}/db/*.php
+%{_phpdir}/includes/*.php
+%{_phpdir}/images/*.gif
+%{_phpdir}/images/smiles/*.gif
+%{_phpdir}/language
+%{_phpdir}/templates
This page took 0.03851 seconds and 4 git commands to generate.