1 Summary: Wraps any text file to a C function that outputs the text
2 Summary(pl.UTF-8): Zamienia plik tekstowy na funkcję C drukującą ten tekst
6 Group: Development/Tools
8 Source0: ftp://sunsite.unc.edu/pub/Linux/devel/compiler-tools/%{name}-%{version}.tgz
9 # Source0-md5: 2f8e251ede493aa06ab16501c3241cd6
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Mkprintf reads the named input file (or standard input if no file is
15 named) and writes a C function that outputs the text of this file.
16 This is what lazy C programmers have been waiting for.
18 %description -l pl.UTF-8
19 Mkprintf wczytuje podany plik (lub standardowe wejście) i wypisuje
20 funkcję w C, która wypisze podany tekst. Typowe narzędzie dla leniwych
29 CFLAGS="%{rpmcflags} -DVERSION=%{version}"
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
35 install mkprintf $RPM_BUILD_ROOT%{_bindir}/mkprintf
36 install mkprintf.8 $RPM_BUILD_ROOT%{_mandir}/man8/mkprintf.8
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/*