]>
Commit | Line | Data |
---|---|---|
512ca09c | 1 | Summary: Breaking Down the Barriers to Open Source Development |
f00ca272 | 2 | Summary(pl.UTF-8): Przełamywanie barier tworzenia Wolnego Oprogramowania |
f96d2604 | 3 | Name: SourceForge |
2b3344c7 | 4 | Version: 2.0_cvs_20001116 |
cb32bbbe | 5 | Release: 5 |
f96d2604 | 6 | License: GPL |
512ca09c | 7 | Group: Development/Version Control |
ab509a89 | 8 | Source0: SF%{version}.tar.gz |
b6c01612 | 9 | # Source0-md5: 5b6b68962e97f16ae4faf13ac9e40808 |
be131b14 SZ |
10 | Source1: %{name}-README.PLD |
11 | Source2: %{name}-mod_vhost_alias.conf | |
2b3344c7 | 12 | Source3: %{name}.sql |
6194a7d6 | 13 | Patch0: %{name}-PLD.patch |
f044e182 | 14 | Patch1: %{name}-config.patch |
cb32bbbe | 15 | Requires: apache(mod_ssl) |
6194a7d6 | 16 | Requires: mysql-client |
cb32bbbe ER |
17 | Requires: php(mysql) |
18 | Requires: webserver(php) >= 3.0 | |
f96d2604 JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
6194a7d6 SZ |
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. | |
f96d2604 | 26 | |
75e300db JR |
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 | |
ab509a89 | 32 | opartej na WWW. |
f96d2604 JR |
33 | |
34 | %prep | |
512ca09c | 35 | %setup -q -n SF%{version} |
6194a7d6 | 36 | %patch0 -p1 |
f044e182 | 37 | %patch1 -p1 |
f96d2604 | 38 | |
695b9808 JB |
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 | ||
f96d2604 JR |
48 | %install |
49 | rm -rf $RPM_BUILD_ROOT | |
be131b14 | 50 | install -d $RPM_BUILD_ROOT/home/httpd/SourceForge/cache |
ab509a89 | 51 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/SourceForge |
6194a7d6 SZ |
52 | |
53 | cp -af * $RPM_BUILD_ROOT/home/httpd/SourceForge | |
695b9808 | 54 | rm -f $RPM_BUILD_ROOT/home/httpd/SourceForge/utils/*.c |
2b3344c7 | 55 | cp -f %{SOURCE3} $RPM_BUILD_ROOT/home/httpd/SourceForge/db/SourceForge.sql |
ab509a89 | 56 | install etc/local.inc $RPM_BUILD_ROOT%{_sysconfdir}/SourceForge |
6194a7d6 SZ |
57 | |
58 | install %{SOURCE1} README.PLD | |
be131b14 | 59 | install %{SOURCE2} apache-mod_vhost_alias.conf |
6194a7d6 | 60 | |
f96d2604 JR |
61 | %clean |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc docs/* | |
bbded428 | 67 | %doc AUTHORS ChangeLog README README.PLD apache-mod_vhost_alias.conf |
ab509a89 | 68 | %{_sysconfdir}/SourceForge |
a3dbe2cd | 69 | %dir %attr(775,root,http) /home/httpd/SourceForge/cache |
6194a7d6 SZ |
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 | |
6194a7d6 SZ |
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 |