[SPEC file] Colorer XML syntax highlighter / text parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to draw your attention to an interesting project: Colorer
(http://colorer.sourceforge.net/), a syntax highlighting and text
parsing library which uses XML schemes.

Especially interesting is the integration of Colorer with the midnight
commander editor (http://colorer.sourceforge.net/mc.html). This seems to
be working quite well.

Attached you find a rough SPEC file that should enable you to build
Colorer rpms. Building an mccolorer rpm should be possible using the
default mc SPEC file and dropping in the mccolorer tarball
(http://prdownloads.sourceforge.net/colorer/Colorer-take5-linux.beta4.tar.bz2?download). It might be necessary to get rid of the UTF-8 patches, but they might just be usable. I haven't tested this.

Enjoy!
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

Name:		Colorer
Version:	0.9.0
Release:	0.1
Summary:	Colorer XML syntax highlighter
Group:		Applications/System
License:	MPL/GPL/LGPL
Source:		Colorer-take5-linux.beta4.tar.bz2
URL:		http://prdownloads.sourceforge.net/colorer/Colorer-take5-linux.beta4.tar.bz2?download
BuildRoot:	%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
Requires:	%{name}-lib = %{version}-%{release}

%description
Colorer XML syntax highlighter binary.

%package	lib
Summary:	Libraries for %{name}
Group:      	Libraries/System
License:	MPL/GPL/LGPL

%description lib
Colorer XML syntax highlighter libraries and XML schemes.

%package	devel
Summary:	Development files for %{name}
Group:      	Development/Tools
License:	MPL/GPL/LGPL

%description devel
Colorer XML syntax highlighter development headers.

%prep
rm -rf %{name}-%{version}
mkdir %{name}-%{version}
tar jxf %SOURCE0 -C %{name}-%{version}

%build
cd %{name}-%{version}
%configure
make

%install
if [ "x$RPM_BUILD_ROOT" != "x/" ]; then
    rm -rf $RPM_BUILD_ROOT
    cd %{name}-%{version}
#    make install prefix=$RPM_BUILD_ROOT
    make install prefix=%{buildroot}/usr
fi

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%{_bindir}/colorer

%files lib
%defattr(-,root,root,0755)
%{_libdir}/libcolorer.so
%{_datadir}/colorer/*
%doc %{_datadir}/doc/colorer-take5/*

%files devel
%defattr(-,root,root,0755)
%{_includedir}/colorer/*

%changelog
* Wed Jun 21 2006 Leonard den Ottolander <leonard den ottolander nl> 0.9.0-0.1
- First build
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux