]> git.pld-linux.org Git - packages/scintilla.git/blame - scintilla.spec
- rebuild with expat 2.1.0
[packages/scintilla.git] / scintilla.spec
CommitLineData
352a3157 1Summary: Free source code editing component for GTK+ and Win32
76c91033 2Summary(pl.UTF-8): Wolnodostępna kontrolka edycyjna dla GTK+ i Win32
64e46d2a 3Name: scintilla
225e1451 4Version: 2.27
462fc45e 5%define fver %(echo %{version} | tr -d .)
59b70a10 6Release: 5
64e46d2a
JB
7License: BSD-like
8Group: Libraries
225e1451
JB
9Source0: http://downloads.sourceforge.net/scintilla/%{name}%{fver}.tgz
10# Source0-md5: f8a4175cb24d24dee32b05400aaea6ce
352a3157 11Patch0: %{name}-make.patch
64e46d2a 12URL: http://scintilla.org/
fb676288 13BuildRequires: gtk+2-devel >= 1:2.0.0
352a3157 14BuildRequires: libstdc++-devel
ecac5811 15BuildRequires: libtool
16BuildRequires: pkgconfig
64e46d2a
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
352a3157
JB
20Scintilla is a free source code editing component. It comes with
21complete source code and a license that permits use in any free
22project or commercial product. As well as features found in standard
23text editing components, Scintilla includes features especially useful
225e1451
JB
24when editing and debugging source code. These include support for
25syntax styling, error indicators, code completion and call tips. The
26selection margin can contain markers like those used in debuggers to
27indicate breakpoints and the current line. Styling choices are more
28open than with many editors, allowing the use of proportional fonts,
29bold and italics, multiple foreground and background colours and
30multiple fonts.
352a3157 31
bebcc5ab
JR
32%description -l pl.UTF-8
33Scintilla to wolnodostępna kontrolka do edycji kodu. Przychodzi z
34pełnym kodem źródłowym i licencja pozwalającą na używanie w dowolnym
35projekcie darmowym lub komercyjnym. Oprócz możliwości obecnych w
352a3157 36standardowych kontrolkach do edycji tekstu, Scintilla ma dodatkowe,
bebcc5ab
JR
37przydatne szczególnie przy edycji i szukaniu błędów w kodzie
38źródłowym. Możliwości te obejmują obsługę stylu składni, podświetlanie
39błędów, dopełnianie kodu i podpowiedzi. Marginesy mogą zawierać
40znaczniki podobne do tych używanych do oznaczenia breakpointów lub
41bieżącej linii w debuggerach. Wybór stylu jest bardziej otwarty niż w
42wielu edytorach, pozwalając na użycie fontów proporcjonalnych,
43pogrubionych i pochylonych, wielu kolorów pisma i tła oraz wielu
44fontów.
352a3157
JB
45
46%package devel
47Summary: scintilla header files
76c91033 48Summary(pl.UTF-8): Pliki nagłówkowe scintilli
352a3157 49Group: Development/Libraries
2e5ad0b7 50Requires: %{name} = %{version}-%{release}
fb676288 51Requires: gtk+2-devel >= 1:2.0.0
9ac4521b 52Requires: libstdc++-devel
352a3157
JB
53
54%description devel
55scintilla header files.
56
bebcc5ab
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe scintilli.
352a3157
JB
59
60%package static
61Summary: Static scintilla library
76c91033 62Summary(pl.UTF-8): Statyczna biblioteka scintilla
352a3157 63Group: Development/Libraries
2e5ad0b7 64Requires: %{name}-devel = %{version}-%{release}
352a3157
JB
65
66%description static
67Static scintilla library.
68
bebcc5ab 69%description static -l pl.UTF-8
352a3157 70Statyczna biblioteka scintilla.
64e46d2a
JB
71
72%prep
73%setup -q -n %{name}
ca65483e 74%patch0 -p1
64e46d2a
JB
75
76%build
352a3157
JB
77%{__make} -C gtk \
78 CC="%{__cxx}" \
2e5ad0b7 79 CCOMP="%{__cc}" \
352a3157 80 OPTFLAGS="%{rpmcflags}" \
f6588d87 81 libdir="%{_libdir}" \
fb676288 82 %{?debug:DEBUG=1}
64e46d2a
JB
83
84%install
85rm -rf $RPM_BUILD_ROOT
5402df04 86install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
64e46d2a 87
352a3157 88%{__make} -C gtk install \
f6588d87 89 libdir="%{_libdir}" \
352a3157
JB
90 DESTDIR=$RPM_BUILD_ROOT
91
5402df04 92install include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
64e46d2a
JB
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
352a3157
JB
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
64e46d2a
JB
100%files
101%defattr(644,root,root,755)
352a3157 102%doc License.txt doc/*
c77c59bb
JB
103%attr(755,root,root) %{_libdir}/libscintilla.so.*.*.*
104%attr(755,root,root) %ghost %{_libdir}/libscintilla.so.0
352a3157
JB
105
106%files devel
107%defattr(644,root,root,755)
c77c59bb
JB
108%attr(755,root,root) %{_libdir}/libscintilla.so
109%{_libdir}/libscintilla.la
352a3157
JB
110%{_includedir}/scintilla
111
112%files static
113%defattr(644,root,root,755)
c77c59bb 114%{_libdir}/libscintilla.a
This page took 0.073577 seconds and 4 git commands to generate.