]> git.pld-linux.org Git - packages/colorifer.git/blob - colorifer.spec
- md5
[packages/colorifer.git] / colorifer.spec
1 %define         subver  rc6
2 %define         rel             1
3 Summary:        Simple program output colorifer
4 Name:           colorifer
5 Version:        1.0.1
6 Release:        0.%{subver}.%{rel}
7 License:        GPL
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)
21
22 %description
23 This package contains simple wrapper to colorize output from any
24 programs.
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
38 rm -rf $RPM_BUILD_ROOT
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
42
43 %clean
44 rm -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.055439 seconds and 3 git commands to generate.