]>
Commit | Line | Data |
---|---|---|
90e3d90e | 1 | # |
2 | Summary: shed - a simple hex editor | |
3 | Summary(pl.UTF-8): Prosty hex-edytor | |
4 | Name: shed | |
1af0c84a | 5 | Version: 1.15 |
a8e73cf2 | 6 | Release: 3 |
90e3d90e | 7 | License: GPL v2 |
8 | Group: Applications | |
1af0c84a AF |
9 | Source0: http://dl.sourceforge.net/shed/%{name}-%{version}.tar.gz |
10 | # Source0-md5: c7d7d464d6b4fa28a7980270d03e0906 | |
90e3d90e | 11 | Patch0: %{name}-autoconf.patch |
12 | URL: http://shed.sourceforge.net/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: ncurses-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | shed is an easy to use hex editor written for unix/linux using | |
20 | ncurses, with a friendly pico-style interface. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | shed jest prostym hex-edytorem przeznaczonym dla systemów typu Unix, | |
24 | wykorzystującym bibliotekę ncurses. Interfejs użytkownika sheda jest | |
25 | wzorowany na pico. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %patch0 -p1 | |
31 | ||
32 | %build | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__automake} | |
36 | %configure | |
37 | %{__make} \ | |
38 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc AUTHORS BUGS ChangeLog README TODO | |
52 | %attr(755,root,root) %{_bindir}/shed | |
53 | %{_mandir}/man1/shed.1* |