]> git.pld-linux.org Git - packages/WebGUI.git/blame - WebGUI.spec
- started update to 7.3.19
[packages/WebGUI.git] / WebGUI.spec
CommitLineData
d484ed8c 1%include /usr/lib/rpm/macros.perl
2Summary: Open source content management system (CMS)
7d74885e 3Summary(pl.UTF-8): Wolnodostępny system zarządzania treścią (CMS)
d484ed8c 4Name: WebGUI
4bba01cc 5Version: 7.3.19
d484ed8c 6Release: 0.1
7License: GPL
8Group: Development/Languages/Perl
4bba01cc
SP
9Source0: http://dl.sourceforge.net/pbwebgui/webgui-%{version}-stable.tar.gz
10# Source0-md5: bd92a165858778f3a37d8554baa2eb9e
11URL: http://www.webgui.org/
d484ed8c 12BuildRequires: rpm-perlprov >= 3.0.3-16
7edb3b1f
JB
13# BRs for autodeps:
14BuildRequires: perl-Archive-Tar
15BuildRequires: perl-DBI
16BuildRequires: perl-Date-Calc
17BuildRequires: perl-Digest-MD5
18BuildRequires: perl-HTML-Parser
19BuildRequires: perl-libwww
20Requires: perl-Compress-Zlib
21Requires: perl-DBD-mysql
22Requires: perl-base >= 5.6
23# these versions are originally included in package - require these or newer
7edb3b1f 24Requires: perl-CalendarMonthSimple >= 1.18
f73c1964 25Requires: perl-Convert-ASN1 >= 0.15
7edb3b1f
JB
26Requires: perl-HTML-TagFilter >= 0.07
27Requires: perl-HTML-Template >= 2.6
28Requires: perl-HTTP-BrowserDetect >= 0.97
29Requires: perl-Parse-PlainConfig >= 1.1
30Requires: perl-Tie-CPHash >= 1.001
31Requires: perl-Tie-IxHash >= 1.21
32Requires: perl-Tree-DAG_Node >= 1.04
33Requires: perl-XML-RSSLite >= 0.11
34Requires: perl-ldap >= 0.25
d484ed8c 35BuildArch: noarch
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
7edb3b1f
JB
38# optional
39%define _noautoreq 'perl(Authen::Smb)'
40
d484ed8c 41%description
42WebGUI is a content management platform built to allow average
43business users to build and maintain complex web sites. It is modular,
44pluggable, and platform independent. It was designed to allow the
45people who create the content, to manage it online, rather than
46content management taking up the time of the busy IT Staff.
47
9d37c1ec
JR
48%description -l pl.UTF-8
49WebGUI to platforma zarządzania treścią stworzona, aby umożliwić
50średniej wielkości firmom tworzenie i utrzymywanie skomplikowanych
4bba01cc
SP
51serwisów WWW. WebGUI jest systemem modularnym, obsługującym wtyczki
52i niezależnym od platformy. Został zaprojektowany tak, aby pozwolić
9d37c1ec
JR
53ludziom tworzącym serwisy zarządzać nimi z poziomu przeglądarki,
54zamiast zajmować czas i tak już zajętym informatykom.
8b6e16a1 55
d484ed8c 56%prep
57%setup -q -n %{name}
d484ed8c 58
00c0ff01 59%{__perl} -pi -e 's|/data/WebGUI|%{_libdir}/WebGUI|' sbin/preload.perl etc/WebGUI.conf*
4bba01cc
SP
60##%{__perl} -pi -e 's|configFile\s+=\s+\"WebGUI.conf\"|configFile = \"%{_sysconfdir}/WebGUI/WebGUI.conf\"|' www/index.pl
61##%{__perl} -pi -e 's|webguiRoot\s*=\s*\".+?\"|webguiRoot = \"%{_libdir}/WebGUI\"|' www/index.pl
62%{__perl} -pi -e "s|(\\\$session\{config\}\{webguiRoot\}\s*\.\s*'%{_sysconfdir}/'\s*\.)||g;" \
7edb3b1f 63 lib/WebGUI/Session.pm
d484ed8c 64
d484ed8c 65%install
66rm -rf $RPM_BUILD_ROOT
3718901c 67install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/sql,%{_sysconfdir}/%{name}}
d484ed8c 68
7edb3b1f
JB
69cp -rf docs/upgrades $RPM_BUILD_ROOT%{_libdir}/%{name}/sql
70install docs/create.sql $RPM_BUILD_ROOT%{_libdir}/%{name}/sql
4bba01cc 71#gzip -9nf $RPM_BUILD_ROOT%{_libdir}/%{name}/sql{,/upgrades}/*.sql
d484ed8c 72
7edb3b1f 73install etc/WebGUI.conf.original $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/WebGUI.conf
4bba01cc 74cp -Prf lib/WebGUI* sbin www $RPM_BUILD_ROOT%{_libdir}/%{name}
d484ed8c 75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
7edb3b1f
JB
81%doc docs/{changelog,credits.txt,gotcha.txt,install.txt,legal.txt}
82%dir %{_sysconfdir}/%{name}
f73c1964 83%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/WebGUI.conf
d484ed8c 84%{_libdir}/%{name}
This page took 0.051839 seconds and 4 git commands to generate.