From 17d6967b136ac14d163a5e02e2140f4d3d0e9b48 Mon Sep 17 00:00:00 2001 From: pbern Date: Sun, 14 Dec 2003 20:41:48 +0000 Subject: [PATCH] - new Changed files: GtkScintilla2.spec -> 1.1 --- GtkScintilla2.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 GtkScintilla2.spec diff --git a/GtkScintilla2.spec b/GtkScintilla2.spec new file mode 100644 index 0000000..27a1cfc --- /dev/null +++ b/GtkScintilla2.spec @@ -0,0 +1,57 @@ +# +%define __spec_install_post /usr/lib/rpm/brp-compress || : +Summary: GtkScintilla2 - A GTK+2 wrapper for Scintilla editing component +Name: GtkScintilla2 +Version: 0.0.8 +Release: 0.1 +License: LGPL +Group: Development/Libraries +Source0: http://www.gphpedit.org/releases/%{name}-%{version}.tar.gz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Provides: libgtkscintilla2.so + +%description +This is GtkScintilla2, a GTK+2 wrapper for the Scintilla +(www.scintilla.org) editing component wich adds some facility to this +powerful component written by Neil Hodgson (and may others). + +%package devel +Summary: GtkScintilla2 - Library header files and static libraries +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Headers files and static libraries needed for compiling other programs +against gtkscintilla2. + +%prep +%setup -q + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%preun +/sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc COPYING README +%{_libdir}/*.so* + +%files devel +%defattr(644,root,root,755) +%doc scintilla/doc/ +%{_libdir}/pkgconfig/GtkScintilla-2.0.pc +%{_includedir}/gtkscintilla2 +%{_libdir}/*.a -- 2.44.0