]> git.pld-linux.org Git - packages/cbb.git/blob - cbb.spec
- converted to UTF-8
[packages/cbb.git] / cbb.spec
1 Summary:        An X11 based personal finance manager
2 Summary(pl.UTF-8):   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://dl.sourceforge.net/cbb/%{name}-%{version}.tar.gz
10 # Source0-md5:  7a435ef954c5c2ba209d34ca5fa5c3a7
11 Source1:        %{name}.1
12 Source2:        dialog4duplicate.1
13 Patch0:         %{name}-DESTDIR.patch
14 URL:            http://home.gna.org/cbb/
15 BuildRequires:  automake
16 BuildRequires:  autoconf
17 Requires:       gnuplot
18 Requires:       tcl >= 7.4
19 Requires:       tk >= 4.0
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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 %patch0 -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} install \
51         prefix=%{_prefix} \
52         WISH=/usr/bin/wish \
53         DESTDIR=$RPM_BUILD_ROOT
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 %dir %{_libdir}/cbb
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.066498 seconds and 3 git commands to generate.