]> git.pld-linux.org Git - packages/boxes.git/blame - boxes.spec
- tabs in preamble
[packages/boxes.git] / boxes.spec
CommitLineData
47a33a5f 1Summary: Draw any kind of box around some given text
9448c229 2Summary(pl.UTF-8): Rysowanie dowolnych ramek wokół podanego tekstu
47a33a5f 3Name: boxes
453ee397 4Version: 1.1
47a33a5f 5Release: 1
957c8a75
JB
6License: GPL
7Group: Applications/Text
069ef03a 8Source0: http://boxes.thomasjensen.com/download/%{name}-%{version}.src.tar.gz
453ee397 9# Source0-md5: d2ef9fa28a87bf32b3fe0c47ab82fa97
53f28328 10Patch0: %{name}-cflags.patch
abef75fa 11URL: http://boxes.thomasjensen.com/
bbcb0d40 12BuildRequires: bison
13BuildRequires: flex
64cc3bd4 14BuildRoot: %{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
18from a C comment box to complex ASCII art. These boxes may also be
19removed, even if they have been badly damaged by editing of the text
20inside. Since boxes may be open on any side, "boxes" can also be used
21to create regional comments in any programming language. With the help
22of an editor macro or mapping, damaged boxes can easily be repaired.
23New box designs of all sorts can easily be added and shared by
24appending to a free format configuration file.
e92cb888 25
026d5894
JR
26%description -l pl.UTF-8
27Za pomocą boxes można rysować różne ramki wokół podanego tekstu,
28począwszy od komentarzy C a skończywszy na skomplikowanym ascii art.
29Można również usuwać te ramki, nawet jeśli zostały poważnie uszkodzone
30edycją znajdującego się w nich tekstu. Ponieważ mogą być otwarte z
31każdej strony, można ich użyć do tworzenia lokalnych komentarzy w
32jakimkolwiek języku programowania. Za pomocą edytora makr lub
33mapowania można łatwo naprawić uszkodzone ramki. Można również łatwo
34dodać nowe rodzaje ramek różnego rodzaju, dołączając je do pliku
47a33a5f 35konfiguracyjnego o otwartym formacie.
36
e92cb888 37%prep
47a33a5f 38%setup -q
53f28328 39%patch0 -p1
e92cb888 40
41%build
2b608616 42rm -f doc/boxes.1
43rm -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 50rm -rf $RPM_BUILD_ROOT
a0fa31b8 51install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
e92cb888 52
47a33a5f 53install src/boxes $RPM_BUILD_ROOT%{_bindir}
54install doc/boxes.1 $RPM_BUILD_ROOT%{_mandir}/man1
a0fa31b8 55install boxes-config $RPM_BUILD_ROOT%{_sysconfdir}/boxes.conf
e92cb888 56
e92cb888 57%clean
47a33a5f 58rm -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}/*
This page took 0.029282 seconds and 4 git commands to generate.