]>
Commit | Line | Data |
---|---|---|
1 | Summary: Breaking Down the Barriers to Open Source Development | |
2 | Summary(pl.UTF-8): Przełamywanie barier tworzenia Wolnego Oprogramowania | |
3 | Name: SourceForge | |
4 | Version: 2.0_cvs_20001116 | |
5 | Release: 5 | |
6 | License: GPL | |
7 | Group: Development/Version Control | |
8 | Source0: SF%{version}.tar.gz | |
9 | # Source0-md5: 5b6b68962e97f16ae4faf13ac9e40808 | |
10 | Source1: %{name}-README.PLD | |
11 | Source2: %{name}-mod_vhost_alias.conf | |
12 | Source3: %{name}.sql | |
13 | Patch0: %{name}-PLD.patch | |
14 | Patch1: %{name}-config.patch | |
15 | Requires: apache(mod_ssl) | |
16 | Requires: mysql-client | |
17 | Requires: php(mysql) | |
18 | Requires: webserver(php) >= 3.0 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | SourceForge is a free service to Open Source developers offering easy | |
23 | access to the best in CVS, mailing lists, bug tracking, message | |
24 | boards/forums, task management, site hosting, permanent file archival, | |
25 | full backups, and total web-based administration. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | SourceForge jest darmową usługą dla developerów oprogramowania z | |
29 | otwartymi źródłami, oferując łatwy dostęp do CVSa, list dyskusyjnych, | |
30 | systemów śledzenia błędów, tablic ogłoszeń, zarządzania zadaniami, | |
31 | zarządzania stroną WWW, archiwizacji plików i ogólnej administracji | |
32 | opartej na WWW. | |
33 | ||
34 | %prep | |
35 | %setup -q -n SF%{version} | |
36 | %patch0 -p1 | |
37 | %patch1 -p1 | |
38 | ||
39 | find . -type d -name CVS | xargs rm -rf | |
40 | ||
41 | # precompiled x86 binary | |
42 | rm -f utils/tmpfilemove | |
43 | ||
44 | %build | |
45 | cd utils | |
46 | %{__cc} %{rpmldflags} %{rpmcflags} -o tmpfilemove tmpfilemove.c | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | install -d $RPM_BUILD_ROOT/home/httpd/SourceForge/cache | |
51 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/SourceForge | |
52 | ||
53 | cp -af * $RPM_BUILD_ROOT/home/httpd/SourceForge | |
54 | rm -f $RPM_BUILD_ROOT/home/httpd/SourceForge/utils/*.c | |
55 | cp -f %{SOURCE3} $RPM_BUILD_ROOT/home/httpd/SourceForge/db/SourceForge.sql | |
56 | install etc/local.inc $RPM_BUILD_ROOT%{_sysconfdir}/SourceForge | |
57 | ||
58 | install %{SOURCE1} README.PLD | |
59 | install %{SOURCE2} apache-mod_vhost_alias.conf | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc docs/* | |
67 | %doc AUTHORS ChangeLog README README.PLD apache-mod_vhost_alias.conf | |
68 | %{_sysconfdir}/SourceForge | |
69 | %dir %attr(775,root,http) /home/httpd/SourceForge/cache | |
70 | %attr(755,root,root) /home/httpd/SourceForge/backend/*.pl | |
71 | %attr(755,root,root) /home/httpd/SourceForge/backend/shell/*.sh | |
72 | /home/httpd/SourceForge/backend/zones/*.zone | |
73 | /home/httpd/SourceForge/db | |
74 | %attr(755,root,root) /home/httpd/SourceForge/monitor | |
75 | %attr(755,root,root) /home/httpd/SourceForge/utils/*.pl | |
76 | /home/httpd/SourceForge/utils/*.php | |
77 | /home/httpd/SourceForge/utils/*.txt | |
78 | %attr(755,root,root) /home/httpd/SourceForge/utils/*/*.pl | |
79 | %attr(755,root,root) /home/httpd/SourceForge/utils/*/*.sh | |
80 | /home/httpd/SourceForge/utils/*/*.zone | |
81 | /home/httpd/SourceForge/www |