]>
Commit | Line | Data |
---|---|---|
5ce444a1 | 1 | Summary: Binary file editor based on ncurses |
5c9c9029 ER |
2 | Summary(fr.UTF-8): Visualisation et edition de fichiers en hexadecimal ou en ASCII |
3 | Summary(pl.UTF-8): Edytor plików binarnych oparty na bibliotece ncurses | |
4 | Summary(pt_BR.UTF-8): O hexedit é um editor hexadecimal de arquivos em modo texo | |
cdf28dc8 | 5 | Name: hexedit |
77791e66 | 6 | Version: 1.2.12 |
2ea136d5 | 7 | Release: 1 |
a1e1c882 | 8 | License: GPL v2 |
cdf28dc8 | 9 | Group: Applications/Editors |
a90586e1 | 10 | Source0: http://merd.net/pixel/%{name}-%{version}.src.tgz |
77791e66 | 11 | # Source0-md5: 0d2f48610006278cd93359fea9a06d5c |
da84b169 | 12 | Patch0: %{name}-DESTDIR.patch |
df48a346 | 13 | URL: http://www.chez.com/prigaux/hexedit.html |
767abe26 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
cdf28dc8 | 16 | BuildRequires: ncurses-devel >= 5.0 |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
0435e88e | 18 | |
0435e88e | 19 | %description |
df48a346 | 20 | hexedit shows a file both in ASCII and in hexadecimal. The file can be |
21 | a device as the file is read a piece at a time. You can modify the | |
22 | file and search through it. | |
0435e88e | 23 | |
36f707a4 JR |
24 | %description -l fr.UTF-8 |
25 | hexedit montre le fichier à la fois en ASCII et en hexadécimal. Le | |
26 | fichier peut être un device vu que le fichier est lu par petit | |
27 | morceau. Possibilité de modifier le fichier et de faire une recherche. | |
a90586e1 | 28 | |
36f707a4 JR |
29 | %description -l pl.UTF-8 |
30 | Przeglądanie i edycja plików w formacie hexadecymalnym lub w ASCII. | |
31 | hexedit pokazuje plik w zarówno w postaci ASCII jak i hexadecymalnej. | |
450b0cbe | 32 | Można przeszukiwać modyfikowany plik. |
df48a346 | 33 | |
36f707a4 | 34 | %description -l pt_BR.UTF-8 |
a90586e1 | 35 | O hexedit mostra um arquivo em ASCII e hexadecimal. O arquivo pode ser |
36f707a4 JR |
36 | um dispositivo, visto que é lido apenas aquilo que vai ser mostrado. |
37 | Pode-se modificar o arquivo e procurar padrões em seu conteúdo. | |
0435e88e | 38 | |
0435e88e | 39 | %prep |
df48a346 | 40 | %setup -q -n %{name} |
928f0d5f | 41 | %patch0 -p1 |
cdf28dc8 | 42 | |
0435e88e | 43 | %build |
da84b169 | 44 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
3a04dbf4 | 45 | %{__aclocal} |
d9e86278 | 46 | %{__autoconf} |
df48a346 | 47 | %configure |
48 | %{__make} | |
0435e88e | 49 | |
50 | %install | |
cdf28dc8 | 51 | rm -rf $RPM_BUILD_ROOT |
cdf28dc8 | 52 | |
df48a346 | 53 | %{__make} install \ |
54 | DESTDIR=$RPM_BUILD_ROOT | |
cdf28dc8 | 55 | |
0435e88e | 56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
0435e88e | 60 | %defattr(644,root,root,755) |
cdf28dc8 | 61 | %attr(755,root,root) %{_bindir}/* |
56463a61 | 62 | %doc Changes TODO |
cdf28dc8 | 63 | %{_mandir}/man1/* |