File SciTE.spec of Package scite
#
# spec file for SciTE (Version 2.11)
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to the Maintainer: sda00@himki.net
#
# norootforbuild
Name: scite
Version: 2.11
Release: SOAD.1
Summary: SciTE is a SCIntilla based Text Editor
License: GPL
Group: Productivity/Editors/Other
URL: http://www.scintilla.org/
#Vendor:
Source: %{name}211.tgz
#Patch:
#Provides: scite
#BuildRequires: pkg-config
BuildRequires: gcc-c++ gcc
#BuildRequires:
BuildRequires: gtk2-devel gtk2 update-desktop-files
BuildRoot: /tmp/%{name}-%{version}-build
%description
SciTE is a SCIntilla based Text Editor. Originally built
to demonstrate Scintilla, it has grown to be a generally
useful editor with facilities for building and running
programs.
Fast, robust, configurable.
The best tool of programmers :).
Have fun!
%prep
rm -rf %{buildroot}
rm -rf "$RPM_BUILD_ROOT"
%build
%install
tar xfm $RPM_SOURCE_DIR/%{name}211.tgz
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share
cd scintilla/gtk
make prefix=/usr
cd ../..
cd scite/gtk
make prefix=/usr
make install prefix=$RPM_BUILD_ROOT/usr
find $RPM_BUILD_ROOT/ -type f -iname '*.la' -exec rm {} \;
find $RPM_BUILD_ROOT/ -type f -iname '*.a' -exec rm {} \;
## find $RPM_BUILD_ROOT/ -type f -perm 755 -exec strip -s {} \;
%suse_update_desktop_file -r SciTE Utility TextEditor
%clean
rm -rf %{buildroot}
rm -rf "$RPM_BUILD_ROOT"
#%post
#strip -s %{_bindir}/SciTE
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%dir %{_datadir}/scite
%{_datadir}/scite/*
#%{_datadir}/locale/*
#%doc
%changelog
* Tue Apr 28 2009 was released SciTE 1.78
* Sun Oct 19 2008 was released SciTE 1.77
* Wed Mar 16 2008 was released SciTE 1.76
Packed by sda00@himki.net