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

Diff of /cvsgraph/cvsgraph.spec.in

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

revision 1.1, Mon Nov 13 20:42:23 2006 UTC revision 1.1.2.1, Mon Nov 13 20:42:23 2006 UTC
# Line 0  Line 1 
1    %define confdir %{_sysconfdir}/cvsgraph
2    
3    Name:           cvsgraph
4    Version:        @VERSION@
5    Release:        1
6    Summary:        Create graphs of branches and revisions for files in a CVS repository
7    
8    Group:          Development/Tools
9    License:        GPL
10    URL:            http://www.akhphd.au.dk/~bertho/cvsgraph/
11    Source0:        http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz
12    BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13    BuildRequires:  gd-devel
14    BuildRequires:  bison
15    BuildRequires:  flex
16    BuildRequires:  freetype-devel
17    BuildRequires:  libpng-devel
18    BuildRequires:  libjpeg-devel
19    
20    %description
21    CvsGraph is a utility to make a graphical representation of all revisions and
22    branches of a file in a CVS/RCS repository. It has been inspired by the 'graph'
23    option in WinCVS.
24    
25    %prep
26    %setup -q
27    
28    %build
29    ./configure --sysconfdir=%{confdir}
30    make
31    
32    %install
33    install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
34    install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/{man1,man5}
35    install -d -m 755 $RPM_BUILD_ROOT%{confdir}
36    install -m 755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} $RPM_BUILD_ROOT%{_bindir}
37    install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf $RPM_BUILD_ROOT%{confdir}
38    install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
39    install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
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    %doc ChangeLog contrib/cvsgraphwrapper.php3 LICENSE contrib/mkimage.php3 README
52    %doc -P contrib/automatic_documentation/
53    
54    %changelog
55    * Sun Jul 30 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
56    - Minor bugfix, version number to 1.6.2
57    * Sat Jul 08 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
58    - Minor bugfix, version number to 1.6.1
59    * Tue Dec 18 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>
60    - Major extension, version number to 1.6.0
61    * Tue Jun 14 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>
62    - Minor fixes, version number to 1.5.2
63    * Thu Oct 23 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
64    - Up the version number to 1.5.1 and include contributions
65    * Thu Aug 15 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
66    - Up the version number to 1.5.0
67    * Thu Aug 05 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
68    - Up the version number for upcoming release (never released)
69    * Mon Jul 19 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
70    - Update for version 1.4.1 and fix the version number
71    * Wed Mar 19 2003 Jason Corley <jason.corley@borland.com>
72    - Documentation and other aesthetic related fixes
73    * Mon Mar 17 2003 Bertho Stultiens <cvsgraph@akhphd.au.dk>
74    - Update for version 1.4.0
75    * Mon Feb 24 2003 Jason Corley <jason.corley@borland.com>
76    - Initial creation

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0