]> git.pld-linux.org Git - packages/bvi.git/blob - bvi.spec
- BR: automake
[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.sf.net/
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 bvi is a simple binary file editor which user interface is based on vi
18 editor.
19
20 %description -l pl
21 bvi to prosty edytor plików binarnych z interfejsem wzorowanym na
22 edytorze vi.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27 %patch1 -p1
28
29 %build
30 cp -f /usr/share/automake/config.sub .
31 %configure \
32         --with-ncurses=/usr
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README CHANGES CREDITS html/*
48 %attr(755,root,root) %{_bindir}/*
49 %{_datadir}/%{name}
50 %{_mandir}/man1/*
This page took 0.071756 seconds and 4 git commands to generate.