3 Summary: Simple program output colorifer
6 Release: 0.%{subver}.%{rel}
8 Group: Applications/Text
9 URL: http://colorifer.sourceforge.net/
10 Source0: http://downloads.sourceforge.net/project/colorifer/colorifer/%{version}%{subver}/%{name}-%{version}%{subver}.tar.bz2
11 # Source0-md5: 77cb15b802cb9d1837a34db6b689d8a8
12 BuildRequires: boost-devel
13 BuildRequires: help2man
14 BuildRequires: libstdc++-devel
15 BuildRequires: ncurses-c++-devel
16 BuildRequires: ncurses-devel
17 BuildRequires: pcre-cxx-devel
18 BuildRequires: pcre-devel
19 BuildRequires: sed >= 4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package contains simple wrapper to colorize output from any
27 %setup -q -n %{name}-%{version}%{subver}
29 %{__sed} -i -e 's,pcre/pcreposix.h,pcreposix.h,' include/pcre_regex.hh
33 CFLAGS='-DCONFIGDIR=\\\"%{_datadir}/%{name}/\\\"' \
38 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/csed
50 %attr(755,root,root) %{_bindir}/%{name}
51 %attr(755,root,root) %{_bindir}/pcolorize*
52 %attr(755,root,root) %{_libdir}/*.so.*
53 %dir %{_datadir}/%{name}
54 %{_mandir}/man1/csed.*
55 %{_mandir}/man1/pcolorize.*