]> git.pld-linux.org Git - packages/bvi.git/blob - bvi.spec
- BR: ncurses-devel
[packages/bvi.git] / bvi.spec
1 Summary:        Binary vi
2 Summary(pl):    Binarny vi
3 Name:           bvi
4 Version:        1.3.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://dl.sourceforge.net/bvi/%{name}-%{version}.src.tar.gz
9 # Source0-md5:  4257305ffb27177a6d5208b2df4ca92d
10 Patch0:         %{name}-home_etc.patch
11 Patch1:         %{name}-paths.patch
12 URL:            http://bvi.sourceforge.net/
13 BuildRequires:  automake
14 BuildRequires:  ncurses-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 bvi is a simple binary file editor which user interface is based on vi
19 editor.
20
21 %description -l pl
22 bvi to prosty edytor plików binarnych z interfejsem wzorowanym na
23 edytorze vi.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28 %patch1 -p1
29
30 %build
31 cp -f /usr/share/automake/config.sub .
32 %configure \
33         --with-ncurses=/usr
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README CHANGES CREDITS html/*
49 %attr(755,root,root) %{_bindir}/*
50 %{_datadir}/%{name}
51 %{_mandir}/man1/*
This page took 0.030912 seconds and 3 git commands to generate.