SPECS: wxScintilla.spec (NEW) - new
prism
prism at pld-linux.org
Wed Apr 5 05:09:45 CEST 2006
Author: prism Date: Wed Apr 5 03:09:45 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
wxScintilla.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/wxScintilla.spec
diff -u /dev/null SPECS/wxScintilla.spec:1.1
--- /dev/null Wed Apr 5 05:09:45 2006
+++ SPECS/wxScintilla.spec Wed Apr 5 05:09:40 2006
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+
+%bcond_with unicode # use wx-gtk2-unicode-config instead of wx-gtk2-ansi-config
+
+Summary: wxScintilla - a wxWidgets implementation of the Scintilla editing control
+Summary(pl): wxScintilla - implementacja kontrolki Scintilla dla wxWidgets
+Name: wxScintilla
+Version: 1.67.0
+Release: 1
+License: wxWindows
+Group: Libraries
+Source0: http://dl.sourceforge.net/wxcode/wxscintilla_%{version}.tar.gz
+# Source0-md5: 85ba8b79a21c92d7d702373f783b5bf2
+URL: http://wxcode.sourceforge.net/components/wxscintilla/
+%if %{with unicode}
+BuildRequires: wxGTK2-unicode-devel >= 2.6.1
+%else
+BuildRequires: wxGTK2-devel >= 2.6.1
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define wxwidgets_ver 2.6
+
+%description
+wxScintilla implements the Scintilla editing control with the wxWidgets API.
+It's derived from wxStyledTextCtrl (done by Robin Dunn) and has the same
+functionality and a similar API. The almost singular difference (beside naming)
+is it has a much faster release cycle.
+
+%description -l pl
+wxScintilla jest implementacją kontrolki edycyjnej Scintilla wykorzystującą
+API wxWidgets. Jest rozwinięciem wxStyledTextCtrl (napisanej przez Robina Dunna)
+i posiada taką samą funkcjonalność oraz zbliżone API. Niemalże jedyną różnicą
+(poza nazwą) jest znacznie szybszy cykl wydawania nowych wersji.
+
+%package devel
+Summary: Header files for wxScintilla library
+Summary(pl): Pliki nagłówkowe biblioteki wxScintilla
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for wxScintilla library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki wxScintilla.
+
+%prep
+%setup -q -n wxscintilla_%{version}
+
+%build
+%{__make} -C build WXCONFIG=wx-gtk2-%{?with_unicode:unicode}%{!?with_unicode:ansi}-config
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/wx-%{wxwidgets_ver}/wx}
+
+cp -f lib/libwxscintilla.so $RPM_BUILD_ROOT%{_libdir}
+cp -f include/wx/*.h $RPM_BUILD_ROOT%{_includedir}/wx-%{wxwidgets_ver}/wx
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/wx-%{wxwidgets_ver}/wx/*.h
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/04/05 03:09:40 prism
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list