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