/[packages]/cauldron/cvs/current/SPECS/cvs.spec
ViewVC logotype

Contents of /cauldron/cvs/current/SPECS/cvs.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 693157 - (show annotations) (download)
Wed Sep 17 18:36:09 2014 UTC (7 years ago) by tv
File size: 3509 byte(s)
really requires exception
1 %global __requires_exclude_from ^/usr/share/cvs/contrib/
2
3 Summary: A version control system
4 Name: cvs
5 Version: 1.12.13
6 Release: %mkrel 24
7 License: GPL
8 Group: Development/Other
9 URL: http://www.nongnu.org/cvs/
10 Source0: http://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2
11 Source1: http://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2.sig
12 Source2: cvspserver
13 Source3: cvs.conf
14 Source4: cvs-xinetd
15 Patch0: cvs-1.11.19-varargs.patch
16 Patch2: cvs-1.12.13-errno.patch
17 Patch4: cvs-1.11.1-newline.patch
18 Patch5: cvs-1.11.4-first-login.patch
19 Patch6: cvs-1.11.19-cvsbug.patch
20 # Patch from cvs of cvs:
21 # http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14840
22 Patch7: cvs-zlib-read.patch
23 Patch8: cvs-1.12.13-format_not_a_string_literal_and_no_format_arguments.diff
24 Patch9: cvs-1.12.13-CVE-2012-0804.diff
25 Requires: openssh-clients
26 Requires(post): info-install
27 Requires(preun): info-install
28 BuildRequires: autoconf2.5
29 BuildRequires: krb5-devel
30 BuildRequires: tcsh
31 BuildRequires: texinfo-tex
32 BuildRequires: zlib-devel
33 BuildRequires: tetex-latex
34 BuildRequires: tetex-dvips
35 BuildRequires: groff
36 BuildRequires: vim-minimal
37
38 %description
39 CVS means Concurrent Version System; it is a version control
40 system which can record the history of your files (usually,
41 but not always, source code). CVS only stores the differences
42 between versions, instead of every version of every file
43 you've ever created. CVS also keeps a log of who, when and
44 why changes occurred, among other aspects.
45
46 CVS is very helpful for managing releases and controlling
47 the concurrent editing of source files among multiple
48 authors. Instead of providing version control for a
49 collection of files in a single directory, CVS provides
50 version control for a hierarchical collection of
51 directories consisting of revision controlled files.
52
53 These directories and files can then be combined together
54 to form a software release.
55
56 Install the cvs package if you need to use a version
57 control system.
58
59 %prep
60
61 %setup -q
62 %patch0 -p1 -b .varargs
63 %patch2 -p1 -b .errno
64 %patch4 -p1 -b .newline
65 %patch5 -p1 -b .first-login
66 %patch6 -p1 -b .cvsbug
67 %patch7 -p0 -b .zlib-read
68 %patch8 -p1 -b .format_not_a_string_literal_and_no_format_arguments
69 %patch9 -p0 -b .CVE-2012-0804
70
71
72 %build
73 # http://qa.mandriva.com/show_bug.cgi?id=31848
74 %define _fortify_cflags %{nil}
75
76 export SENDMAIL="%{_sbindir}/sendmail"
77
78 %serverbuild
79
80 export CXXFLAGS="${CFLAGS}"
81 export CCFLAGS="${CFLAGS}"
82
83 %configure2_5x \
84 --with-tmpdir=/tmp \
85 --with-external-zlib
86
87 %make
88
89 pushd doc
90 make ps
91 make info
92 popd
93
94 %install
95 install -d %{buildroot}%{_sysconfdir}/xinetd.d
96 install -d %{buildroot}%{_sysconfdir}/cvs
97 install -d %{buildroot}%{_sbindir}
98
99 %makeinstall
100
101 install -m0755 %{SOURCE2} %{buildroot}%{_sbindir}/
102 install -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/cvs
103 install -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/xinetd.d/%{name}
104
105 bzip2 -f doc/*.ps
106
107 # %check
108 # Disabling currently
109 # make check
110
111 %post
112 %_install_info %{name}.info
113 %_install_info cvsclient.info
114
115 %preun
116 %_remove_install_info %{name}.info
117
118 %_remove_install_info cvsclient.info
119
120 %files
121 %doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README
122 %doc doc/*.ps.bz2
123 %config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
124 %dir %{_sysconfdir}/cvs
125 %config(noreplace) %{_sysconfdir}/cvs/cvs.conf
126 %{_bindir}/cvs
127 %{_bindir}/cvsbug
128 %{_bindir}/rcs2log
129 %{_sbindir}/cvspserver
130 %{_infodir}/cvs*
131 %{_datadir}/cvs
132 %{_mandir}/man1/cvs.1*
133 %{_mandir}/man5/cvs.5*
134 %{_mandir}/man8/cvsbug.8*

  ViewVC Help
Powered by ViewVC 1.1.28