SPECS: medit.spec (NEW) - initial spec by Krzysztof Lewczuk <tomipnh#gmail....

glen glen at pld-linux.org
Fri May 9 16:43:58 CEST 2008


Author: glen                         Date: Fri May  9 14:43:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec by Krzysztof Lewczuk <tomipnh#gmail.com>
  pldized, items still in TODO

---- Files affected:
SPECS:
   medit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/medit.spec
diff -u /dev/null SPECS/medit.spec:1.1
--- /dev/null	Fri May  9 16:43:58 2008
+++ SPECS/medit.spec	Fri May  9 16:43:53 2008
@@ -0,0 +1,116 @@
+# $Revision$, $Date$
+# TODO
+# - contains modified Lua-5.1.3, try to use system?
+# - gtk-doc instead of %doc doc/help
+# - /usr/share/mime/* is suspicious
+Summary:	Multiplatform GTK+2 text editor
+Summary(pl.UTF-8):	Wieloplatformowy edytor tekstu
+Name:		medit
+Version:	0.9.3
+Release:	0.1
+License:	GPL
+Group:		X11/Applications/Editors
+Source0:	http://dl.sourceforge.net/mooedit/%{name}-%{version}.tar.bz2
+# Source0-md5:	24ffe177248e94795345a11a1a668741
+URL:		http://mooedit.sourceforge.net/
+BuildRequires:	gtk+2-devel >= 2:2.2.0
+BuildRequires:	intltool
+BuildRequires:	libxml2-devel
+BuildRequires:	pcre-devel
+BuildRequires:	python-pygtk-devel
+BuildRequires:	rpmbuild(find_lang) >= 1.32
+BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Medit is a multiplatform GTK+2 text editor. Features:
+- Configurable syntax highlighting
+- Configurable keyboard accelerators
+- Multiplatform - works both on unix and windows
+
+%description -l pl.UTF-8
+Medit to wieloplatformowy editor tekstu. Cechy:
+- Konfigurowalne podświetlanie składni
+- Konfigurowalne skróty klawiszowe
+- Wieloplatformowość - działa zarówno na systemie Unix jak i
+  Windows
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--with-xml \
+	--with-python
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/mime/mime.cache
+rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
+rm -rf $RPM_BUILD_ROOT%{_docdir}/medit
+
+%find_lang moo-gsv -o %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_mime_database
+%update_icon_cache hicolor
+
+%postun
+%update_mime_database
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING COPYING.GPL INSTALL LICENSE NEWS README THANKS doc/help
+%attr(755,root,root) %{_bindir}/medit
+%dir %{_libdir}/moo
+%{_libdir}/moo/plugins
+%dir %{_datadir}/moo
+%{_datadir}/moo/language-specs
+%{_datadir}/moo/lua
+%{_datadir}/moo/*.cfg
+%{_datadir}/moo/*.xml
+%dir %{_datadir}/moo/scripts
+%attr(755,root,root) %{_datadir}/moo/scripts/moo-open-html-help
+%attr(755,root,root) %{_datadir}/moo/scripts/xdg-email
+%attr(755,root,root) %{_datadir}/moo/scripts/xdg-open
+
+# XXX is packaging these ok?
+%{_datadir}/mime/XMLnamespaces
+%{_datadir}/mime/aliases
+%{_datadir}/mime/globs
+%{_datadir}/mime/magic
+%{_datadir}/mime/packages/moo.xml
+%{_datadir}/mime/subclasses
+%{_datadir}/mime/text/x-automake.xml
+%{_datadir}/mime/text/x-configure-in.xml
+%{_datadir}/mime/text/x-copying.xml
+%{_datadir}/mime/text/x-dpatch.xml
+%{_datadir}/mime/text/x-gap.xml
+%{_datadir}/mime/text/x-libtool.xml
+%{_datadir}/mime/text/x-news.xml
+%{_datadir}/mime/text/x-pkg-config.xml
+%{_datadir}/mime/text/x-thanks.xml
+%{_datadir}/mime/text/x-todo.xml
+
+%{_desktopdir}/medit.desktop
+%{_iconsdir}/hicolor/*/apps/medit.png
+%{_pixmapsdir}/medit.png
+%{_mandir}/man1/medit*
+
+%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  2008-05-09 14:43:53  glen
+- initial spec by Krzysztof Lewczuk <tomipnh#gmail.com>
+  pldized, items still in TODO
================================================================


More information about the pld-cvs-commit mailing list