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

Diff of /cvsgraph/cvsgraph.spec

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

revision 1.15, Wed May 21 01:41:18 2008 UTC revision 1.17, Wed May 21 13:36:26 2008 UTC
# Line 1  Line 1 
1  %define confdir %{_sysconfdir}/cvsgraph  %define confdir %{_sysconfdir}/cvsgraph
2    
3  Name: cvsgraph  Name:           cvsgraph
4  Version: 1.6.2  Version:        1.7.0
5  Release: 1  Release:        1
6  Summary: Create graphs of branches and revisions for files in a CVS repository  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/  Group:          Development/Tools
9  Group: Applications/Publishing  License:        GPL
10  Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz  URL:            http://www.akhphd.au.dk/~bertho/cvsgraph/
11  BuildRoot: %{_tmppath}/%{name}-root  Source0:        http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz
12  BuildRequires: gd freetype libjpeg libpng zlib  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  Requires: gd freetype libjpeg libpng zlib  BuildRequires:  gd-devel
14    BuildRequires:  bison
15    BuildRequires:  flex
16    BuildRequires:  freetype-devel
17    BuildRequires:  libpng-devel
18    BuildRequires:  libjpeg-devel
19    
20  %description  %description
21  CvsGraph is a utility to make a graphical representation of all revisions  CvsGraph is a utility to make a graphical representation of all revisions and
22  and branches of a file in a CVS/RCS repository. It has been inspired by  branches of a file in a CVS/RCS repository. It has been inspired by the 'graph'
23  the 'graph' option in WinCVS, but I could not find a stand-alone version  option in WinCVS.
 of this graph code. So, it was time to write one.  
24    
25  %prep  %prep
26  [ "$RPM_BUILD_ROOT" != "/" ] && /bin/rm -rf $RPM_BUILD_ROOT  %setup -q
   
 %setup  
27    
28  %build  %build
29  ./configure --sysconfdir=%{confdir}  make %{?_smp_mflags}
 make  
30    
31  %install  %install
32  install -d -m 755 $RPM_BUILD_ROOT%{_bindir}  rm -rf $RPM_BUILD_ROOT
33  install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/{man1,man5}  install -Dpm 755 cvsgraph $RPM_BUILD_ROOT%{_bindir}/cvsgraph
34  install -d -m 755 $RPM_BUILD_ROOT%{confdir}  install -Dpm 644 cvsgraph.conf $RPM_BUILD_ROOT%{_sysconfdir}/cvsgraph.conf
35  install -m 755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} $RPM_BUILD_ROOT%{_bindir}  install -Dpm 644 cvsgraph.1 $RPM_BUILD_ROOT%{_mandir}/man1/cvsgraph.1
36  install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf $RPM_BUILD_ROOT%{confdir}  install -Dpm 644 cvsgraph.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/cvsgraph.conf.5
 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1  
 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5  
37    
38  %clean  %clean
39  [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
40    
41  %files  %files
42  %defattr(-,root,root)  %defattr(-,root,root)
43  %config(noreplace) %{confdir}/%{name}.conf  %config(noreplace) %{_sysconfdir}/cvsgraph.conf
44  %dir %{confdir}  %dir %{confdir}
45  %{_bindir}/%{name}  %{_bindir}/cvsgraph
46  %{_mandir}/man1/*  %{_mandir}/man[15]/cvsgraph*.[15]*
47  %{_mandir}/man5/*  %doc ChangeLog contrib/cvsgraphwrapper.php COPYING contrib/mkimage.php README contrib/cvsgraph-httpd.conf
 %doc ChangeLog contrib/cvsgraphwrapper.php3 LICENSE contrib/mkimage.php3 README  
48  %doc -P contrib/automatic_documentation/  %doc -P contrib/automatic_documentation/
49    
50  %changelog  %changelog
51  * Wed May 21 2008 Bertho Stultiens <cvsgraph@akhphd.au.dk>  * Sun Jul 30 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
52  - Minor bugfix and feature improvements, version number to 1.6.2  - Streamline the spec with Fedora and goto version 1.7.0
53    * Sun Jul 30 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
54    - Minor bugfix, version number to 1.6.2 (never released)
55  * Sat Jul 08 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>  * Sat Jul 08 2006 Bertho Stultiens <cvsgraph@akhphd.au.dk>
56  - Minor bugfix, version number to 1.6.1  - Minor bugfix, version number to 1.6.1
57  * Tue Dec 18 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>  * Tue Dec 18 2005 Bertho Stultiens <cvsgraph@akhphd.au.dk>

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0