]> git.pld-linux.org Git - packages/colorifer.git/blame - colorifer.spec
- md5
[packages/colorifer.git] / colorifer.spec
CommitLineData
4aafbae3
ER
1%define subver rc6
2%define rel 1
3Summary: Simple program output colorifer
4Name: colorifer
5Version: 1.0.1
6Release: 0.%{subver}.%{rel}
7License: GPL
8Group: Applications/Text
9URL: http://colorifer.sourceforge.net/
10Source0: http://downloads.sourceforge.net/project/colorifer/colorifer/%{version}%{subver}/%{name}-%{version}%{subver}.tar.bz2
b408499b 11# Source0-md5: 77cb15b802cb9d1837a34db6b689d8a8
4aafbae3
ER
12BuildRequires: boost-devel
13BuildRequires: help2man
14BuildRequires: libstdc++-devel
15BuildRequires: ncurses-c++-devel
16BuildRequires: ncurses-devel
17BuildRequires: pcre-cxx-devel
18BuildRequires: pcre-devel
19BuildRequires: sed >= 4.0
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This package contains simple wrapper to colorize output from any
24programs.
25
26%prep
27%setup -q -n %{name}-%{version}%{subver}
28
29%{__sed} -i -e 's,pcre/pcreposix.h,pcreposix.h,' include/pcre_regex.hh
30%build
31%{__make} \
32 CXX="%{__cxx}" \
33 CFLAGS='-DCONFIGDIR=\\\"%{_datadir}/%{name}/\\\"' \
34 DEBUG_LDGLAGS= \
35 DEBUG_LDGLAGS_UTILS=
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc TODO NEWS
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.*
This page took 0.068064 seconds and 4 git commands to generate.