]> git.pld-linux.org Git - packages/cbb.git/commitdiff
- added cbb.1, dialog4duplicate.1 man pages from Debian
authorankry <ankry@pld-linux.org>
Fri, 19 Apr 2002 23:04:15 +0000 (23:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added cbb-DESTDIR.patch; fixed build
- moved to /usr/X11R6
- fixed script attributes in %{_libdir}/cbb/
- release 5, STBR

Changed files:
    cbb.spec -> 1.12

cbb.spec

index c905c037760a494f99941eb96ff5609d6e65f9ae..4a4590649739e6bb71960d2c0e90c7dd83aad870 100644 (file)
--- a/cbb.spec
+++ b/cbb.spec
@@ -3,8 +3,11 @@ Summary(pl):   Program do zarz
 Name:          cbb
 Version:       0.8.1
 Epoch:         1
-Release:       4
+Release:       5
 Source0:       http://cbb.sourceforge.net/down/%{name}-%{version}.tar.gz
+Source1:       %{name}.1
+Source2:       dialog4duplicate.1
+Patch0:                %{name}-DESTDIR.patch
 License:       GPL
 Group:         Applications
 URL:           http://cbb.sourceforge.net/
@@ -14,6 +17,8 @@ BuildRequires:        autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      tcl >= 7.4, tk >= 4.0, gnuplot
 
+%define        _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
 CBB is a personal financial management application written in Tcl/Tk
@@ -30,6 +35,7 @@ modyfikacji kodu.
 
 %prep
 %setup -q
+%patch -p0
 
 %build
 rm -f missing
@@ -43,15 +49,30 @@ automake -a -c -f
 rm -rf $RPM_BUILD_ROOT
 %{__make} \
        prefix=%{_prefix} \
+       WISH=/usr/bin/wish \
        DESTDIR=$RPM_BUILD_ROOT \
        install
 
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
+install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc Announce Bugs COPYING FAQ README THANKS Todo Version
+%{_mandir}/man1/*
 %attr(755,root,root) %{_bindir}/cbb
 %attr(755,root,root) %{_bindir}/dialog4duplicate
-%{_libdir}/cbb
+%attr(755,root,root) %{_libdir}/cbb/*.pl
+%attr(755,root,root) %{_libdir}/cbb/*.tcl
+%{_libdir}/cbb/*.conf
+%{_libdir}/cbb/*.cat
+%{_libdir}/cbb/contrib
+%{_libdir}/cbb/docs
+%{_libdir}/cbb/graphs
+%{_libdir}/cbb/images
+%{_libdir}/cbb/languages
+%{_libdir}/cbb/reports
This page took 0.069944 seconds and 4 git commands to generate.