]>
Commit | Line | Data |
---|---|---|
38fe4595 | 1 | # TODO: fix ScriptRoot |
540186f3 | 2 | Summary: Project change supervisor |
7a08db4a | 3 | Summary(pl.UTF-8): Nadzorca zmian w projektach |
b8875984 | 4 | Name: aegis |
94f83709 | 5 | Version: 4.16 |
2c99b845 | 6 | Release: 4 |
2647fb7d | 7 | License: GPL |
b8875984 | 8 | Group: Development/Version Control |
48bae746 | 9 | Source0: http://dl.sourceforge.net/aegis/%{name}-%{version}.tar.gz |
94f83709 | 10 | # Source0-md5: 134d01cca1e7173d4396884df5b669eb |
7eb9256c | 11 | Patch0: %{name}-ugid.patch |
62e6361b | 12 | Patch1: %{name}-etc_dir.patch |
48bae746 | 13 | URL: http://aegis.sourceforge.net/ |
c7c4cc97 | 14 | BuildRequires: bison |
f05d1f7a JB |
15 | BuildRequires: curl-devel |
16 | BuildRequires: libmagic-devel | |
fbe78294 | 17 | BuildRequires: rpmbuild(macros) >= 1.202 |
8166a183 | 18 | BuildRequires: zlib-devel |
2c99b845 ER |
19 | Requires(postun): /usr/sbin/groupdel |
20 | Requires(postun): /usr/sbin/userdel | |
545997c6 | 21 | Requires(pre): /bin/id |
29389278 | 22 | Requires(pre): /usr/bin/getgid |
545997c6 | 23 | Requires(pre): /usr/sbin/groupadd |
24 | Requires(pre): /usr/sbin/useradd | |
29389278 | 25 | Provides: group(aegis) |
26 | Provides: user(aegis) | |
9608b062 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b8875984 | 28 | |
8166a183 JB |
29 | %define _sharedstatedir /var/lib |
30 | ||
b8875984 | 31 | %description |
c8221229 | 32 | Aegis is a transaction-based software configuration management system. |
33 | It provides a framework within which a team of developers may work on | |
34 | many changes to a program independently, and Aegis coordinates | |
35 | integrating these changes back into the master source of the program, | |
36 | with as little disruption as possible. | |
b8875984 | 37 | |
4a611f1d JR |
38 | %description -l pl.UTF-8 |
39 | Aegis jest transakcyjnie działającym programem do zarządzania | |
40 | konfiguracją. Daje środowisko w którym załoga developerów może | |
41 | pracować nad wieloma zmianami w programie niezależnie, a Aegis | |
42 | koordynuje integrację tych zmian w główne źródła programu. | |
bce5952a | 43 | |
b8875984 | 44 | %prep |
540186f3 | 45 | %setup -q |
36bbeeef | 46 | %patch0 -p1 |
47 | %patch1 -p1 | |
b8875984 | 48 | |
49 | %build | |
0a6eb3fc | 50 | %configure2_13 |
e5a55d5e | 51 | %{__make} |
b8875984 | 52 | |
53 | %install | |
08b96111 JR |
54 | rm -rf $RPM_BUILD_ROOT |
55 | ||
56 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/{aegis,locale},%{_libdir},%{_mandir}/man1} | |
57 | ||
a4eeefe9 | 58 | %{__make} install \ |
74d85d25 | 59 | AEGIS_UID=`id -ru` \ |
8166a183 | 60 | AEGIS_GID=`id -rg` \ |
38fe4595 JB |
61 | HAVE_WEB=yes \ |
62 | ScriptRoot=/srv/httpd/cgi-bin | |
b8875984 | 63 | |
08b96111 JR |
64 | mv -f $RPM_BUILD_ROOT%{_libdir}/aegis/en $RPM_BUILD_ROOT%{_datadir}/locale |
65 | rm -rf $RPM_BUILD_ROOT%{_datadir}/aegis/man1 | |
66 | rm -rf $RPM_BUILD_ROOT%{_datadir}/aegis/en | |
67 | rm -f lib/en/html/.mkdir* | |
68 | ||
bce5952a JB |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
08b96111 | 71 | |
36840846 | 72 | %pre |
fbe78294 ER |
73 | %groupadd -g 65 aegis |
74 | %useradd -u 65 -g 65 -c "Project change supervisor" aegis | |
36840846 | 75 | |
76 | %postun | |
77 | if [ "$1" = "0" ] ; then | |
29389278 | 78 | %userremove aegis |
79 | %groupremove aegis | |
36840846 | 80 | fi |
81 | ||
540186f3 | 82 | %files |
83 | %defattr(644,root,root,755) | |
8fff0908 | 84 | %doc lib/en/*.{ps,txt} lib/en/notes/locale.man lib/en/html README |
540186f3 | 85 | |
8166a183 JB |
86 | %dir %attr(775,root,aegis) %{_sharedstatedir}/aegis |
87 | %dir %attr(755,root,aegis) %{_libdir}/aegis | |
1e144ce3 | 88 | %dir %{_datadir}/aegis |
540186f3 | 89 | |
2ae21889 | 90 | %attr(755,root,root) %{_bindir}/aedist |
91 | %attr(755,root,root) %{_bindir}/aefind | |
6dd41690 | 92 | %attr(4755,root,root) %{_bindir}/aegis |
2ae21889 | 93 | %attr(755,root,root) %{_bindir}/aerect |
94 | %attr(755,root,root) %{_bindir}/aereport | |
95 | %attr(755,root,root) %{_bindir}/ae-sccs-put | |
96 | %attr(755,root,root) %{_bindir}/ae_diff2htm | |
97 | %attr(755,root,root) %{_bindir}/aeannotate | |
98 | %attr(755,root,root) %{_bindir}/aebuffy | |
99 | %attr(755,root,root) %{_bindir}/aecomp | |
100 | %attr(755,root,root) %{_bindir}/aecomplete | |
101 | %attr(755,root,root) %{_bindir}/aeimport | |
102 | %attr(755,root,root) %{_bindir}/aeintegratq | |
103 | %attr(755,root,root) %{_bindir}/aels | |
104 | %attr(755,root,root) %{_bindir}/aemeasure | |
105 | %attr(755,root,root) %{_bindir}/aepatch | |
106 | %attr(755,root,root) %{_bindir}/aesub | |
107 | %attr(755,root,root) %{_bindir}/aetar | |
108 | %attr(755,root,root) %{_bindir}/xaegis | |
109 | %attr(755,root,root) %{_bindir}/aegis.cgi | |
110 | %attr(755,root,root) %{_bindir}/tk* | |
111 | %attr(755,root,root) %{_datadir}/aegis/*.sh | |
112 | %attr(755,root,root) %{_datadir}/aegis/remind | |
1e144ce3 | 113 | |
114 | %{_datadir}/aegis/aegis.icon | |
115 | %{_datadir}/aegis/aegis.mask | |
116 | %{_datadir}/aegis/aegis.pgm | |
1e144ce3 | 117 | %{_datadir}/aegis/cshrc |
1e144ce3 | 118 | %{_datadir}/aegis/profile |
119 | %{_datadir}/aegis/report.index | |
2ae21889 | 120 | %{_datadir}/aegis/config.example |
121 | %{_datadir}/aegis/report | |
122 | %{_datadir}/aegis/wish | |
08b96111 | 123 | %{_mandir}/man[15]/* |