]> git.pld-linux.org Git - packages/GtkScintilla2.git/commitdiff
- pl, unifications, add SONAME, use system scintilla auto/ac/GtkScintilla2-0_0_8-0_1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 16 Dec 2003 14:54:51 +0000 (14:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed COPYING from doc (just LGPL)

Changed files:
    GtkScintilla2.spec -> 1.3

GtkScintilla2.spec

index 6df9d7007129493b84fd927446535515683e8a2b..add4f90430e17f24d7e279e1678b981eb97de0ba 100644 (file)
@@ -1,55 +1,95 @@
 Summary:       GtkScintilla2 - A GTK+2 wrapper for Scintilla editing component
+Summary(pl):   GtkScintilla2 - wrapper GTK+2 do komponentu edycyjnego Scintilla
 Name:          GtkScintilla2
 Version:       0.0.8
 Release:       0.1
 License:       LGPL
-Group:         Development/Libraries
+Group:         Libraries
 Source0:       http://www.gphpedit.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5: e275b450c59575adef18175c099df79d
+BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: pkgconfig
+BuildRequires: python
+BuildRequires: scintilla-devel >= 1.53
+Requires:      scintilla >= 1.53
 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).
+(http://www.scintilla.org/) editing component which adds some facility
+to this powerful component written by Neil Hodgson (and many others).
+
+%description -l pl
+To jest GtkScintilla2 - wrapper GTK+2 do komponentu edycyjnego
+Scintilla (http://www.scintilla.org/) dodaj±cy nieco udogodnieñ do
+tego potê¿nego komponentu napisanego przez Neila Hodgsona (i wielu
+innych).
 
 %package devel
-Summary:       GtkScintilla2 - Library header files and static libraries
+Summary:       Header files for GtkScintilla2 library
+Summary(pl):   Pliki nag³ówkowe biblioteki GtkScintilla2
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
+Requires:      gtk+2-devel >= 2.0.0
+Requires:      scintilla-devel >= 1.53
 
 %description devel
-Headers files and static libraries needed for compiling other programs
-against gtkscintilla2.
+Headers files needed for compiling other programs against
+GtkScintilla2.
+
+%description devel -l pl
+Pliki nag³ówkowe potrzebne do kompilacji innych programów u¿ywaj±cych
+biblioteki GtkScintilla2.
+
+%package static
+Summary:       Static GtkScintilla2 library
+Summary(pl):   Statyczna biblioteka GtkScintilla2
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static GtkScintilla2 library.
+
+%description static -l pl
+Statyczna biblioteka GtkScintilla2.
 
 %prep
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       LD="%{__cxx}" \
+       CFLAGS="%{rpmcflags} -fPIC `pkg-config --cflags gtk+-2.0` -Wall -DGTK -DSCI_LEXER" \
+       SCINTILLA_LIB= \
+       SCINTILLA_INCLUDE=/usr/include/scintilla \
+       SCINTILLA_IFACE=scintilla/include/Scintilla.iface \
+       LDFLAGS_POST="-lscintilla -Wl,-soname=libgtkscintilla2.so.0"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT 
+
+%{__make} install \
+       SCINTILLA_LIB= \
+       DESTDIR=$RPM_BUILD_ROOT 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
-%preun
-/sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING README
-%{_libdir}/*.so*
+%doc README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc scintilla/doc/
-%{_libdir}/pkgconfig/GtkScintilla-2.0.pc
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/gtkscintilla2
+%{_pkgconfigdir}/GtkScintilla-2.0.pc
+
+%files static
+%defattr(644,root,root,755)
 %{_libdir}/*.a
This page took 0.053543 seconds and 4 git commands to generate.