Пакет mate-text-editor: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/glib-genmarshal /usr/bin/glib-gettextize /usr/bin/glib-mkenums /usr/bin/gtkdocize libICE-devel libgio-devel pkgconfig(gio-2.0) pkgconfig(gtk+-2.0) pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0) pkgconfig(x11) # END SourceDeps(oneline) %add_python_req_skip pluma %define _libexecdir %_prefix/libexec Summary: Text editor for the MATE desktop Name: mate-text-editor Version: 1.6.0 Release: alt1_1 License: GPLv2+ Group: Editors URL: http://mate-desktop.org Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: libenchant-devel BuildRequires: libgail-devel BuildRequires: /usr/bin/autopoint BuildRequires: glib2-devel BuildRequires: gtk2-devel BuildRequires: libgtksourceview-devel BuildRequires: iso-codes-devel #BuildRequires: libattr-devel BuildRequires: libSM-devel BuildRequires: mate-common BuildRequires: mate-doc-utils BuildRequires: pango-devel BuildRequires: python-module-pygobject-devel BuildRequires: python-module-pygtk-devel BuildRequires: python-module-pygtksourceview-devel BuildRequires: python-devel BuildRequires: rarian-compat BuildRequires: which Requires: pygtk2 # the run-command plugin uses zenity Requires: zenity Source44: import.info %description mate-text-editor is a small, but powerful text editor designed specifically for the MATE desktop. It has most standard text editor functions and fully supports international text in Unicode. Advanced features include syntax highlighting and automatic indentation of source code, printing and editing of multiple documents in one window. mate-text-editor is extensible through a plugin system, which currently includes support for spell checking, comparing files, viewing CVS ChangeLogs, and adjusting indentation levels. %package devel Summary: Support for developing plugins for the mate-text-editor text editor Group: Development/C Requires: %{name} = %{version}-%{release} %description devel Development files for mate-text-editor %prep %setup -q NOCONFIGURE=1 ./autogen.sh # Fix debug permissions with messy hack find ./*/* -type f -exec chmod 644 {} \; find ./*/*/* -type f -exec chmod 644 {} \; %build %configure \ --disable-scrollkeeper \ --enable-gtk-doc-html \ --enable-gvfs-metadata \ --enable-python \ --disable-schemas-compile make %{?_smp_mflags} V=1 %install make DESTDIR=%{buildroot} install desktop-file-install --delete-original \ --remove-category="MATE" \ --add-category="X-Mate" \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/*.desktop ## clean up all the static libs for plugins /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/pluma/plugins -name "*.a"` /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/pluma/plugins -name "*.la"` /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/pluma/plugin-loaders -name "*.la"` %find_lang pluma --with-gnome %files -f pluma.lang %doc README COPYING AUTHORS %{_datadir}/pluma %{_datadir}/mate/help/pluma %{_datadir}/applications/pluma.desktop %{_mandir}/man1/* %{_libdir}/pluma %{_libexecdir}/pluma %{_bindir}/pluma %{_bindir}/mate-text-editor %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml %{_datadir}/MateConf/gsettings/pluma.convert %files devel %{_includedir}/pluma %{_libdir}/pkgconfig/pluma.pc %changelog * Tue Apr 16 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.0-alt1_1 - new fc release * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt2_1 dropped obsolete mate-conf BR: * Sun Feb 17 2013 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1_1 - new fc release * Tue Nov 20 2012 Igor Vlasenko <viy@altlinux.ru> 1.4.0-alt1_2 - added mate-desktop-1.5.0-alt-settings.patch - font settings |