File: CSSC.spec.in

package info (click to toggle)
cssc 1.0.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,612 kB
  • ctags: 1,424
  • sloc: cpp: 13,502; sh: 4,759; ansic: 2,971; perl: 342; makefile: 339; awk: 11
file content (97 lines) | stat: -rw-r--r-- 2,756 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Summary: GNU CSSC - An SCCS clone
Name: CSSC
Version: @VERSION@
Release: 1
URL: http://cssc.sourceforge.net/
Copyright: GPL (one program is BSD, see COPYING.bsd)
Packager: Thomas.Duffy.99@alumni.brown.edu
Group: Development/Version Control
Source: ftp://alpha.gnu.org/pub/gnu/CSSC/CSSC-%{PACKAGE_VERSION}.tar.gz
Prereq: /sbin/install-info
Requires: /usr/bin/diff
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
CSSC is a clone for the traditional Unix version control suite SCCS.
It aims for near-total compatibility with SCCS.  CSSC stands for
"Compatibly Stupid Source Control".  

%prep
%setup

%build
autoconf
%configure --enable-binary
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
ln -s libexec/cssc $RPM_BUILD_ROOT/usr/sccs
cd $RPM_BUILD_ROOT/usr/bin 
ln -s ../libexec/cssc/* .
gzip $RPM_BUILD_ROOT/%{_infodir}/cssc* || true
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir

%post
/sbin/install-info %{_infodir}/cssc.info.gz %{_infodir}/dir --entry="* cssc: (cssc)."

%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/cssc.info.gz %{_infodir}/dir --entry="* cssc: (cssc)."
fi

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog INSTALL NEWS 
%doc docs/BUGS docs/CREDITS docs/FIXED docs/Platforms 
%doc docs/TESTING docs/TODO docs/missing.txt 
%doc docs/patches.txt docs/mailing-list.txt
%doc docs/style.txt
%doc bsd/COPYING.bsd bsd/sccs.me
%dir %{_libexecdir}/cssc
%{_libexecdir}/cssc
%{_bindir}/sccs
%{_mandir}/man*/*
%{_infodir}/*.info*

%changelog

* Fri Oct  4 2002 James Youngman <jay@gnu.org>
Change reference to sccs.1 to sccs.1* because RPM version 4
compresses all the manual pages.

* Sat Jul 14 2001 James Youngman <jay@gnu.org>
Pass the --enable-binary flag to enable binary file support.
This was previously the default, but it is now mandatory to 
supply the option (or --disable-binary).

* Tue Jul 18 2000 James Youngman <jay@gnu.org>
Updated URL.

* Mon Jun 15 1998 Aron Griffis <agriffis@coat.com>
Added symbolic links in /usr/bin to call programs directly

* Wed Jun 10 1998 jay@gnu.org <James Youngman>
Added sccs.1 to the list of files.

* Sat May 23 1998 interran@crd.GE.COM <John Interrante>
Don't use --infodir since that breaks the BuildRoot.  "--infodir" is
set by setting "--prefix" anyway.

* Fri May  8 1998 interran@crd.GE.COM <John Interrante>
Use a build-root.   Also use install-info.  Use install-strip 
rather than just "strip *".

* Sat Feb 21 1998 jay@gnu.org <James Youngman>
Strip the installed binaries.

* Thu Feb 12 1998 jay@gnu.org <James Youngman>
Added sccsdiff to the file list.

* Sat Jan 17 1998 jay@gnu.org <James Youngman>

First RPMed version (0.05alpha-pl0)