/[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.15 - (show annotations)
Wed May 21 01:41:18 2008 UTC (9 years, 6 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_6_2, source_head_20080521
Changes since 1.14: +2 -2 lines
- Do a better job at drawing the merge lines by selecting the shortest path
  from the revision boxes. An analysis is now done whether the source and
  destinations should be on the left or right side.
- Fix the left_right case for merge lines to display correctly.
- Fix a +/-1 error on the merge lines to account for both rounding errors and
  the shadow of the revision boxes.
- Add configuration option 'merge_on_tag' to force the left_right case to
  display merge lines on the tags instead of on the top/bottom sides. This
  also solves imagemap overlaps where multiple sources or destinations would
  be displayed at the same position.
- Fix the imagemap function to record the correct position of the merges.
1 %define confdir %{_sysconfdir}/cvsgraph
2
3 Name: cvsgraph
4 Version: 1.6.2
5 Release: 1
6 Summary: Create graphs of branches and revisions for files in a CVS repository
7 License: GPL
8 URL: http://www.akhphd.au.dk/~bertho/cvsgraph/
9 Group: Applications/Publishing
10 Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz
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%{_mandir}/{man1,man5}
33 install -d -m 755 $RPM_BUILD_ROOT%{confdir}
34 install -m 755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} $RPM_BUILD_ROOT%{_bindir}
35 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf $RPM_BUILD_ROOT%{confdir}
36 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
37 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
38
39 %clean
40 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(-,root,root)
44 %config(noreplace) %{confdir}/%{name}.conf
45 %dir %{confdir}
46 %{_bindir}/%{name}
47 %{_mandir}/man1/*
48 %{_mandir}/man5/*
49 %doc ChangeLog contrib/cvsgraphwrapper.php3 LICENSE contrib/mkimage.php3 README
50 %doc -P contrib/automatic_documentation/
51
52 %changelog
53 * Wed May 21 2008 Bertho Stultiens <cvsgraph@akhphd.au.dk>
54 - Minor bugfix and feature improvements, version number to 1.6.2
55 * Sat Jul 08 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
56 - Minor bugfix, version number to 1.6.1
57 * Tue Dec 18 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>
58 - Major extension, version number to 1.6.0
59 * Tue Jun 14 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>
60 - Minor fixes, version number to 1.5.2
61 * Thu Oct 23 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
62 - Up the version number to 1.5.1 and include contributions
63 * Thu Aug 15 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
64 - Up the version number to 1.5.0
65 * Thu Aug 05 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
66 - Up the version number for upcoming release (never released)
67 * Mon Jul 19 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
68 - Update for version 1.4.1 and fix the version number
69 * Wed Mar 19 2003 Jason Corley <jason.corley@borland.com>
70 - Documentation and other aesthetic related fixes
71 * Mon Mar 17 2003 Bertho Stultiens <cvsgraph@akhphd.au.dk>
72 - Update for version 1.4.0
73 * Mon Feb 24 2003 Jason Corley <jason.corley@borland.com>
74 - Initial creation

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0