]> git.pld-linux.org Git - packages/cbb.git/blob - cbb.spec
- pl fix
[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 programem zarz±dzaj±cym finansami osobistymi napisanym w
32 Tcl/Tk i Perlu (nie zawiera kompilowanego kodu) i u¿ywa prostego
33 formatu plików z danymi. CBB ma prosty interfejs i daje siê ³atwo
34 rozbudowywaæ bez 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 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Announce Bugs FAQ README THANKS Todo Version
66 %{_mandir}/man1/*
67 %attr(755,root,root) %{_bindir}/cbb
68 %attr(755,root,root) %{_bindir}/dialog4duplicate
69 %attr(755,root,root) %{_libdir}/cbb/*.pl
70 %attr(755,root,root) %{_libdir}/cbb/*.tcl
71 %{_libdir}/cbb/*.conf
72 %{_libdir}/cbb/*.cat
73 %{_libdir}/cbb/contrib
74 %{_libdir}/cbb/docs
75 %{_libdir}/cbb/graphs
76 %{_libdir}/cbb/images
77 %{_libdir}/cbb/languages
78 %{_libdir}/cbb/reports
This page took 0.043579 seconds and 3 git commands to generate.