]>
Commit | Line | Data |
---|---|---|
17d6967b | 1 | Summary: GtkScintilla2 - A GTK+2 wrapper for Scintilla editing component |
2 | Name: GtkScintilla2 | |
3 | Version: 0.0.8 | |
4 | Release: 0.1 | |
5 | License: LGPL | |
6 | Group: Development/Libraries | |
7 | Source0: http://www.gphpedit.org/releases/%{name}-%{version}.tar.gz | |
8 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
9 | Provides: libgtkscintilla2.so | |
10 | ||
11 | %description | |
12 | This is GtkScintilla2, a GTK+2 wrapper for the Scintilla | |
13 | (www.scintilla.org) editing component wich adds some facility to this | |
14 | powerful component written by Neil Hodgson (and may others). | |
15 | ||
16 | %package devel | |
17 | Summary: GtkScintilla2 - Library header files and static libraries | |
18 | Group: Development/Libraries | |
19 | Requires: %{name} = %{version} | |
20 | ||
21 | %description devel | |
22 | Headers files and static libraries needed for compiling other programs | |
23 | against gtkscintilla2. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT | |
34 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %post | |
40 | /sbin/ldconfig | |
41 | ||
42 | %preun | |
43 | /sbin/ldconfig | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc COPYING README | |
48 | %{_libdir}/*.so* | |
49 | ||
50 | %files devel | |
51 | %defattr(644,root,root,755) | |
52 | %doc scintilla/doc/ | |
53 | %{_libdir}/pkgconfig/GtkScintilla-2.0.pc | |
54 | %{_includedir}/gtkscintilla2 | |
55 | %{_libdir}/*.a |