/[CvsGraph]/cvsgraph/cvsgraph.spec
ViewVC logotype

Annotate of /cvsgraph/cvsgraph.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Mon Mar 17 10:40:05 2003 UTC (14 years, 7 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_4_0
Changes since 1.2: +2 -0 lines
Release 1.4.0
1 %define confdir %{_sysconfdir}/cvsgraph
2
3 Summary: Create graphs of branches and revisions for files in a CVS repository
4 Name: cvsgraph
5 Version: 1.4.0
6 Release: 1
7 Copyright: GPL
8 Group: Applications/Publishing
9 Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz
10 URL: http://www.akhphd.au.dk/~bertho/cvsgraph/
11 BuildRoot: %{_tmppath}/%{name}-root
12 BuildRequires: gd freetype libjpeg libpng zlib
13 Requires: gd freetype libjpeg libpng zlib
14
15 %description
16 CvsGraph is a utility to make a graphical representation of all revisions
17 and branches of a file in a CVS/RCS repository. It has been inspired by
18 the 'graph' option in WinCVS, but I could not find a stand-alone version
19 of this graph code. So, it was time to write one.
20
21 %prep
22 [ "$RPM_BUILD_ROOT" != "/" ] && /bin/rm -rf $RPM_BUILD_ROOT
23
24 %setup
25
26 %build
27 ./configure --sysconfdir=%{confdir}
28 make
29
30 %install
31 install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
32 install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}
33 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/{man1,man5}
34 install -d -m 755 $RPM_BUILD_ROOT%{confdir}
35 install -m 755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} $RPM_BUILD_ROOT%{_bindir}
36 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf $RPM_BUILD_ROOT%{confdir}
37 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
38 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
39 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/{ChangeLog,cvsgraphwrapper.php3,LICENSE,mkimage.php3,README} $RPM_BUILD_ROOT%{_docdir}/%{name}
40
41 %clean
42 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(-,root,root)
46 %config(noreplace) %{confdir}/%{name}.conf
47 %dir %{confdir}
48 %{_bindir}/%{name}
49 %{_mandir}/man1/*
50 %{_mandir}/man5/*
51 %dir %{_docdir}/%{name}
52 %doc %{_docdir}/%{name}/*
53
54 %changelog
55 * Mon Mar 17 2003 Bertho Stultiens <cvsgraph@akhphd.au.dk>
56 - Update for version 1.4.0
57 * Mon Feb 24 2003 Jason Corley <jason.corley@borland.com>
58 - Initial creation

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0