]>
Commit | Line | Data |
---|---|---|
47a33a5f | 1 | Summary: Draw any kind of box around some given text |
9448c229 | 2 | Summary(pl.UTF-8): Rysowanie dowolnych ramek wokół podanego tekstu |
47a33a5f | 3 | Name: boxes |
453ee397 | 4 | Version: 1.1 |
47a33a5f | 5 | Release: 1 |
957c8a75 JB |
6 | License: GPL |
7 | Group: Applications/Text | |
069ef03a | 8 | Source0: http://boxes.thomasjensen.com/download/%{name}-%{version}.src.tar.gz |
453ee397 | 9 | # Source0-md5: d2ef9fa28a87bf32b3fe0c47ab82fa97 |
53f28328 | 10 | Patch0: %{name}-cflags.patch |
abef75fa | 11 | URL: http://boxes.thomasjensen.com/ |
bbcb0d40 | 12 | BuildRequires: bison |
13 | BuildRequires: flex | |
64cc3bd4 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e92cb888 | 15 | |
16 | %description | |
47a33a5f | 17 | "boxes" can draw all kinds of boxes around its input text, ranging |
18 | from a C comment box to complex ASCII art. These boxes may also be | |
19 | removed, even if they have been badly damaged by editing of the text | |
20 | inside. Since boxes may be open on any side, "boxes" can also be used | |
21 | to create regional comments in any programming language. With the help | |
22 | of an editor macro or mapping, damaged boxes can easily be repaired. | |
23 | New box designs of all sorts can easily be added and shared by | |
24 | appending to a free format configuration file. | |
e92cb888 | 25 | |
026d5894 JR |
26 | %description -l pl.UTF-8 |
27 | Za pomocą boxes można rysować różne ramki wokół podanego tekstu, | |
28 | począwszy od komentarzy C a skończywszy na skomplikowanym ascii art. | |
29 | Można również usuwać te ramki, nawet jeśli zostały poważnie uszkodzone | |
30 | edycją znajdującego się w nich tekstu. Ponieważ mogą być otwarte z | |
31 | każdej strony, można ich użyć do tworzenia lokalnych komentarzy w | |
32 | jakimkolwiek języku programowania. Za pomocą edytora makr lub | |
33 | mapowania można łatwo naprawić uszkodzone ramki. Można również łatwo | |
34 | dodać nowe rodzaje ramek różnego rodzaju, dołączając je do pliku | |
47a33a5f | 35 | konfiguracyjnego o otwartym formacie. |
36 | ||
e92cb888 | 37 | %prep |
47a33a5f | 38 | %setup -q |
53f28328 | 39 | %patch0 -p1 |
e92cb888 | 40 | |
41 | %build | |
2b608616 | 42 | rm -f doc/boxes.1 |
43 | rm -f src/boxes.h | |
bbcb0d40 | 44 | %{__make} \ |
453ee397 | 45 | CC="%{__cc}" \ |
bbcb0d40 | 46 | CFLAGS_ADDTL="%{rpmcflags}" \ |
47 | GLOBALCONF="%{_sysconfdir}/boxes.conf" | |
e92cb888 | 48 | |
49 | %install | |
47a33a5f | 50 | rm -rf $RPM_BUILD_ROOT |
a0fa31b8 | 51 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}} |
e92cb888 | 52 | |
47a33a5f | 53 | install src/boxes $RPM_BUILD_ROOT%{_bindir} |
54 | install doc/boxes.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
a0fa31b8 | 55 | install boxes-config $RPM_BUILD_ROOT%{_sysconfdir}/boxes.conf |
e92cb888 | 56 | |
e92cb888 | 57 | %clean |
47a33a5f | 58 | rm -rf $RPM_BUILD_ROOT |
e92cb888 | 59 | |
60 | %files | |
47a33a5f | 61 | %defattr(644,root,root,755) |
895eb96d | 62 | %doc README |
53f28328 TP |
63 | %attr(755,root,root) %{_bindir}/* |
64 | %{_mandir}/man1/* | |
997c7d1f | 65 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* |