]> git.pld-linux.org Git - packages/cbb.git/blob - cbb.spec
e297b1448ff3453603ca802329db46642dc9ae24
[packages/cbb.git] / cbb.spec
1 Summary:        An X11 based personal finance manager
2 Summary(pl):    Program do zarz±dzania finansami osobistymi
3 Name:           cbb
4 Version:        0.8.1
5 Epoch:          1
6 Release:        5
7 License:        GPL
8 Group:          Applications
9 Source0:        http://cbb.sourceforge.net/down/%{name}-%{version}.tar.gz
10 # Source0-md5:  7a435ef954c5c2ba209d34ca5fa5c3a7
11 Source1:        %{name}.1
12 Source2:        dialog4duplicate.1
13 Patch0:         %{name}-DESTDIR.patch
14 URL:            http://cbb.sourceforge.net/
15 BuildArch:      noarch
16 BuildRequires:  automake
17 BuildRequires:  autoconf
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Requires:       tcl >= 7.4, tk >= 4.0, gnuplot
20
21
22 %description
23 CBB is a personal financial management application written in Tcl/Tk
24 and Perl (it contains no compiled code) and utilizing a simple (tab
25 delimited) data file format. CBB provides a simple interface for users
26 to balance their checkbooks and to add their own reports, graphs, and
27 external modules without having to modify any of the CBB source.
28
29 %description -l pl
30 CBB jest programem zarz±dzaj±cym finansami osobistymi napisanym w
31 Tcl/Tk i Perlu (nie zawiera kompilowanego kodu) i u¿ywa prostego
32 formatu plików z danymi. CBB ma prosty interfejs i daje siê ³atwo
33 rozbudowywaæ bez modyfikacji kodu.
34
35 %prep
36 %setup -q
37 %patch -p0
38
39 %build
40 rm -f missing
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} \
50         prefix=%{_prefix} \
51         WISH=/usr/bin/wish \
52         DESTDIR=$RPM_BUILD_ROOT \
53         install
54
55 install -d $RPM_BUILD_ROOT%{_mandir}/man1
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
57 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Announce Bugs FAQ README THANKS Todo Version
65 %{_mandir}/man1/*
66 %attr(755,root,root) %{_bindir}/cbb
67 %attr(755,root,root) %{_bindir}/dialog4duplicate
68 %attr(755,root,root) %{_libdir}/cbb/*.pl
69 %attr(755,root,root) %{_libdir}/cbb/*.tcl
70 %{_libdir}/cbb/*.conf
71 %{_libdir}/cbb/*.cat
72 %{_libdir}/cbb/contrib
73 %{_libdir}/cbb/docs
74 %{_libdir}/cbb/graphs
75 %{_libdir}/cbb/images
76 %{_libdir}/cbb/languages
77 %{_libdir}/cbb/reports
This page took 0.034018 seconds and 3 git commands to generate.