123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- Summary: An powerfull text editor for MATE
- Name: mate-text-editor
- Version: 1.1.0
- Release: 1%{?_dist_release}
- Source0: %{name}-%{version}.tar.xz
- License: GPLv2
- Group: System Environment/Libraries
- URL: https:
- BuildRequires: mate-common
- BuildRequires: mate-doc-utils
- BuildRequires: mate-conf-devel
- BuildRequires: gtk2-devel
- BuildRequires: gtksourceview2-devel
- BuildRequires: libsoup-devel
- BuildRequires: enchant-devel
- BuildRequires: libSM-devel
- BuildRequires: iso-codes
- BuildRequires: gtk-doc
- BuildRequires: autoconf
- BuildRequires: automake
- Requires(post,pre,preun): mate-conf
- Requires(post,postun): desktop-file-utils
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- pluma is part of MATE and uses the latest GTK+ and MATE libraries.
- Complete MATE integration is featured, with support for Drag and Drop (DnD)
- from Caja (the MATE file manager), the use of the MATE help system,
- the MATE Virtual File System and the MATE print framework.
- %package devel
- Summary: Development tools for mate-text-editor
- Summary(ja): mate-text-editor の開発環境
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- Requires: mate-corba-devel
- %description devel
- Header files and libraries for building a extension library for the
- mate-text-editor.
- %prep
- %setup -q
- %build
- (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
- %configure \
- --libexecdir=%{_libexecdir}/mate \
- --disable-static \
- --disable-scrollkeeper
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- %find_lang pluma
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post
- /sbin/ldconfig
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- pluma-file-browser.schemas \
- pluma.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- %pre
- if [ "$1" -gt 1 ]; then
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- pluma-file-browser.schemas \
- pluma.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- pluma-file-browser.schemas \
- pluma.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
- fi
- %postun
- /sbin/ldconfig
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- %files -f pluma.lang
- %defattr(-,root,root,-)
- %doc COPYING ChangeLog NEWS README
- %{_sysconfdir}/mateconf/schemas/pluma-file-browser.schemas
- %{_sysconfdir}/mateconf/schemas/pluma.schemas
- %{_bindir}/mate-text-editor
- %{_bindir}/pluma
- %{_libdir}/pluma/plugin-loaders/libcloader.so
- %{_libdir}/pluma/plugins
- %{_libexecdir}/mate/pluma/pluma-bugreport.sh
- %{_datadir}/applications/pluma.desktop
- %{_datadir}/mate/help/pluma
- %{_datadir}/omf/pluma
- %{_datadir}/pluma
- %{_mandir}/man1/pluma.1.gz
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/pluma
- %{_libdir}/pkgconfig/pluma.pc
- %changelog
- * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
- - initial build for Vine Linux
|