]> git.pld-linux.org Git - packages/GtkScintilla2.git/blame - GtkScintilla2.spec
- tabs in preamle
[packages/GtkScintilla2.git] / GtkScintilla2.spec
CommitLineData
17d6967b 1Summary: GtkScintilla2 - A GTK+2 wrapper for Scintilla editing component
a3b84bfe 2Summary(pl.UTF-8): GtkScintilla2 - wrapper GTK+2 do komponentu edycyjnego Scintilla
17d6967b 3Name: GtkScintilla2
4Version: 0.0.8
291b8880 5Release: 1
17d6967b 6License: LGPL
aaae5189 7Group: Libraries
17d6967b 8Source0: http://www.gphpedit.org/releases/%{name}-%{version}.tar.gz
aaae5189 9# Source0-md5: e275b450c59575adef18175c099df79d
7de3198f 10BuildRequires: gtk+2-devel >= 1:2.0.0
aaae5189
JB
11BuildRequires: pkgconfig
12BuildRequires: python
13BuildRequires: scintilla-devel >= 1.53
14Requires: scintilla >= 1.53
17d6967b 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17d6967b 16
17%description
18This is GtkScintilla2, a GTK+2 wrapper for the Scintilla
aaae5189
JB
19(http://www.scintilla.org/) editing component which adds some facility
20to this powerful component written by Neil Hodgson (and many others).
21
5dee14cd 22%description -l pl.UTF-8
aaae5189 23To jest GtkScintilla2 - wrapper GTK+2 do komponentu edycyjnego
5dee14cd
JR
24Scintilla (http://www.scintilla.org/) dodający nieco udogodnień do
25tego potężnego komponentu napisanego przez Neila Hodgsona (i wielu
aaae5189 26innych).
17d6967b 27
28%package devel
aaae5189 29Summary: Header files for GtkScintilla2 library
a3b84bfe 30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GtkScintilla2
17d6967b 31Group: Development/Libraries
6d48cc5d 32Requires: %{name} = %{version}-%{release}
aaae5189
JB
33Requires: gtk+2-devel >= 2.0.0
34Requires: scintilla-devel >= 1.53
17d6967b 35
36%description devel
aaae5189
JB
37Headers files needed for compiling other programs against
38GtkScintilla2.
39
5dee14cd
JR
40%description devel -l pl.UTF-8
41Pliki nagłówkowe potrzebne do kompilacji innych programów używających
aaae5189
JB
42biblioteki GtkScintilla2.
43
44%package static
45Summary: Static GtkScintilla2 library
a3b84bfe 46Summary(pl.UTF-8): Statyczna biblioteka GtkScintilla2
aaae5189 47Group: Development/Libraries
6d48cc5d 48Requires: %{name}-devel = %{version}-%{release}
aaae5189
JB
49
50%description static
51Static GtkScintilla2 library.
52
5dee14cd 53%description static -l pl.UTF-8
aaae5189 54Statyczna biblioteka GtkScintilla2.
17d6967b 55
56%prep
57%setup -q
58
59%build
aaae5189
JB
60%{__make} \
61 CC="%{__cc}" \
62 LD="%{__cxx}" \
63 CFLAGS="%{rpmcflags} -fPIC `pkg-config --cflags gtk+-2.0` -Wall -DGTK -DSCI_LEXER" \
34790793
JK
64 LIB_DIR=%{_libdir} \
65 PKG_CONFIG_DIR=%{_pkgconfigdir} \
aaae5189
JB
66 SCINTILLA_LIB= \
67 SCINTILLA_INCLUDE=/usr/include/scintilla \
68 SCINTILLA_IFACE=scintilla/include/Scintilla.iface \
69 LDFLAGS_POST="-lscintilla -Wl,-soname=libgtkscintilla2.so.0"
17d6967b 70
71%install
72rm -rf $RPM_BUILD_ROOT
aaae5189
JB
73
74%{__make} install \
75 SCINTILLA_LIB= \
34790793
JK
76 LIB_DIR=%{_libdir} \
77 PKG_CONFIG_DIR=%{_pkgconfigdir} \
ea278dfc 78 DESTDIR=$RPM_BUILD_ROOT
17d6967b 79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
aaae5189
JB
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
17d6967b 85
86%files
87%defattr(644,root,root,755)
aaae5189
JB
88%doc README
89%attr(755,root,root) %{_libdir}/lib*.so.*.*
17d6967b 90
91%files devel
92%defattr(644,root,root,755)
aaae5189 93%attr(755,root,root) %{_libdir}/lib*.so
17d6967b 94%{_includedir}/gtkscintilla2
aaae5189
JB
95%{_pkgconfigdir}/GtkScintilla-2.0.pc
96
97%files static
98%defattr(644,root,root,755)
17d6967b 99%{_libdir}/*.a
This page took 0.121763 seconds and 4 git commands to generate.