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