]>
Commit | Line | Data |
---|---|---|
77cbe844 JB |
1 | Summary: Pluma - MATE Text Editor |
2 | Summary(pl.UTF-8): Pluma - edytor tekstu dla środowiska MATE | |
cf9e9c57 | 3 | Name: pluma |
19c27be6 | 4 | Version: 1.18.3 |
027e3d04 | 5 | Release: 1 |
77cbe844 | 6 | License: GPL v2+ |
d2e3ce6f | 7 | Group: X11/Applications/Editors |
551cdaca | 8 | Source0: http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz |
19c27be6 | 9 | # Source0-md5: 2813e0371d20da51d9e24eab527eb8be |
77cbe844 JB |
10 | URL: http://mate-desktop.org/ |
11 | BuildRequires: autoconf >= 2.63.2 | |
12 | BuildRequires: automake >= 1:1.10 | |
13 | BuildRequires: docbook-dtd412-xml | |
14 | BuildRequires: enchant-devel >= 1.2.0 | |
758b61ed | 15 | BuildRequires: gettext-tools >= 0.17 |
37c02ab2 | 16 | BuildRequires: glib2-devel >= 1:2.36.0 |
a912927f | 17 | BuildRequires: gobject-introspection-devel >= 0.9.3 |
551cdaca | 18 | BuildRequires: gtk+3-devel >= 3.14 |
77cbe844 | 19 | BuildRequires: gtk-doc >= 1.0 |
551cdaca | 20 | BuildRequires: gtksourceview3-devel >= 3.0 |
66a714c4 | 21 | BuildRequires: intltool >= 0.50.1 |
77cbe844 | 22 | BuildRequires: iso-codes >= 0.35 |
551cdaca JP |
23 | BuildRequires: libpeas-devel >= 1.2.0 |
24 | BuildRequires: libpeas-gtk-devel >= 1.2.0 | |
af8af55b | 25 | BuildRequires: libsoup-devel >= 2.4 |
77cbe844 JB |
26 | BuildRequires: libtool >= 2:2.2.6 |
27 | BuildRequires: libxml2-devel >= 1:2.5.0 | |
28 | BuildRequires: mate-common | |
77cbe844 | 29 | BuildRequires: pkgconfig |
a912927f | 30 | BuildRequires: python-devel >= 1:2.7 |
77cbe844 JB |
31 | BuildRequires: rpm-pythonprov |
32 | BuildRequires: rpmbuild(find_lang) >= 1.36 | |
33 | BuildRequires: xorg-lib-libSM-devel >= 1.0.0 | |
34 | BuildRequires: xorg-lib-libX11-devel | |
cf9e9c57 | 35 | BuildRequires: yelp-tools |
37c02ab2 | 36 | Requires(post,postun): glib2 >= 1:2.36.0 |
77cbe844 | 37 | Requires: enchant >= 1.2.0 |
37c02ab2 | 38 | Requires: glib2 >= 1:2.36.0 |
a912927f | 39 | Requires: gobject-introspection >= 0.9.3 |
551cdaca JP |
40 | Requires: gtk+3 >= 3.14 |
41 | Requires: gtksourceview3 >= 3.0 | |
77cbe844 | 42 | Requires: iso-codes >= 0.35 |
551cdaca JP |
43 | Requires: libpeas >= 1.2.0 |
44 | Requires: libpeas-gtk >= 1.2.0 | |
77cbe844 | 45 | Requires: libxml2 >= 1:2.5.0 |
a912927f JB |
46 | Requires: python-pygobject3 >= 3.0 |
47 | # for pythonconsole.config | |
77cbe844 JB |
48 | Requires: python-pygtk-gtk >= 2:2.12.0 |
49 | Requires: xorg-lib-libSM >= 1.0.0 | |
cf9e9c57 | 50 | Obsoletes: mate-text-editor |
77cbe844 JB |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
54 | Pluma is a small and lightweight UTF-8 text editor for the MATE | |
55 | environment. Based on gedit, the text editor for the GNOME 2 | |
56 | environment. | |
57 | ||
58 | %description -l pl.UTF-8 | |
ac849814 ER |
59 | Pluma to mały i lekki edytor tekstu w UTF-8 dla środowiska MATE. Jest |
60 | oparty na programie gedit - edytorze tekstu dla środowiska GNOME 2. | |
77cbe844 JB |
61 | |
62 | %package devel | |
63 | Summary: Header files for Pluma plugins development | |
64 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek edytora Pluma | |
65 | Group: X11/Development/Libraries | |
66 | # doesn't require base | |
37c02ab2 | 67 | Requires: glib2-devel >= 1:2.36.0 |
551cdaca JP |
68 | Requires: gtk+3-devel >= 3.14 |
69 | Requires: gtksourceview3-devel >= 3.0 | |
77cbe844 JB |
70 | |
71 | %description devel | |
72 | Header files for Pluma plugins development. | |
73 | ||
74 | %description devel -l pl.UTF-8 | |
75 | Pliki nagłówkowe do tworzenia wtyczek edytora Pluma. | |
76 | ||
77 | %package apidocs | |
78 | Summary: Pluma API documentation | |
79 | Summary(pl.UTF-8): Dokumentacja API edytora Pluma | |
80 | Group: Documentation | |
ac849814 ER |
81 | %if "%{_rpmversion}" >= "5" |
82 | BuildArch: noarch | |
83 | %endif | |
77cbe844 JB |
84 | |
85 | %description apidocs | |
86 | Pluma API documentation. | |
87 | ||
88 | %description apidocs -l pl.UTF-8 | |
89 | Dokumentacja API edytora Pluma. | |
90 | ||
91 | %prep | |
92 | %setup -q | |
77cbe844 JB |
93 | |
94 | %build | |
95 | mate-doc-common --copy | |
77cbe844 JB |
96 | %{__intltoolize} |
97 | %{__libtoolize} | |
98 | %{__aclocal} -I m4 | |
99 | %{__autoconf} | |
100 | %{__autoheader} | |
101 | %{__automake} | |
102 | %configure \ | |
103 | --disable-schemas-compile \ | |
104 | --disable-silent-rules \ | |
105 | --with-html-dir=%{_gtkdocdir} | |
106 | ||
107 | %{__make} | |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | %{__make} install \ | |
112 | DESTDIR=$RPM_BUILD_ROOT | |
113 | ||
551cdaca JP |
114 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pluma/plugins/*.la |
115 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ku_IQ,pms} | |
77cbe844 | 116 | |
af8af55b | 117 | %find_lang pluma --with-mate |
77cbe844 JB |
118 | |
119 | %clean | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
122 | %post | |
123 | %glib_compile_schemas | |
124 | ||
125 | %postun | |
126 | %glib_compile_schemas | |
127 | ||
128 | %files -f pluma.lang | |
129 | %defattr(644,root,root,755) | |
130 | %doc AUTHORS ChangeLog NEWS README | |
77cbe844 JB |
131 | %attr(755,root,root) %{_bindir}/pluma |
132 | %dir %{_libdir}/pluma | |
133 | %attr(755,root,root) %{_libdir}/pluma/pluma-bugreport.sh | |
77cbe844 JB |
134 | %dir %{_libdir}/pluma/plugins |
135 | # C plugins | |
136 | %attr(755,root,root) %{_libdir}/pluma/plugins/libchangecase.so | |
551cdaca | 137 | %{_libdir}/pluma/plugins/changecase.plugin |
77cbe844 | 138 | %attr(755,root,root) %{_libdir}/pluma/plugins/libdocinfo.so |
551cdaca | 139 | %{_libdir}/pluma/plugins/docinfo.plugin |
77cbe844 | 140 | %attr(755,root,root) %{_libdir}/pluma/plugins/libfilebrowser.so |
551cdaca | 141 | %{_libdir}/pluma/plugins/filebrowser.plugin |
77cbe844 | 142 | %attr(755,root,root) %{_libdir}/pluma/plugins/libmodelines.so |
551cdaca | 143 | %{_libdir}/pluma/plugins/modelines.plugin |
77cbe844 | 144 | %attr(755,root,root) %{_libdir}/pluma/plugins/libsort.so |
551cdaca | 145 | %{_libdir}/pluma/plugins/sort.plugin |
77cbe844 | 146 | %attr(755,root,root) %{_libdir}/pluma/plugins/libspell.so |
551cdaca | 147 | %{_libdir}/pluma/plugins/spell.plugin |
77cbe844 | 148 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtaglist.so |
551cdaca | 149 | %{_libdir}/pluma/plugins/taglist.plugin |
77cbe844 | 150 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtime.so |
551cdaca | 151 | %{_libdir}/pluma/plugins/time.plugin |
a912927f JB |
152 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtrailsave.so |
153 | %{_libdir}/pluma/plugins/trailsave.plugin | |
77cbe844 JB |
154 | # Python plugins |
155 | %{_libdir}/pluma/plugins/externaltools | |
551cdaca | 156 | %{_libdir}/pluma/plugins/externaltools.plugin |
77cbe844 | 157 | %{_libdir}/pluma/plugins/pythonconsole |
551cdaca | 158 | %{_libdir}/pluma/plugins/pythonconsole.plugin |
77cbe844 | 159 | %{_libdir}/pluma/plugins/quickopen |
551cdaca | 160 | %{_libdir}/pluma/plugins/quickopen.plugin |
77cbe844 | 161 | %{_libdir}/pluma/plugins/snippets |
551cdaca | 162 | %{_libdir}/pluma/plugins/snippets.plugin |
551cdaca | 163 | %{_libdir}/girepository-1.0/Pluma-1.0.typelib |
37c02ab2 | 164 | %{_datadir}/appdata/pluma.appdata.xml |
77cbe844 JB |
165 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml |
166 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml | |
05c73260 | 167 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml |
77cbe844 JB |
168 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml |
169 | %{_datadir}/pluma | |
170 | %{_desktopdir}/pluma.desktop | |
171 | %{_mandir}/man1/pluma.1* | |
172 | ||
173 | %files devel | |
174 | %defattr(644,root,root,755) | |
175 | %{_includedir}/pluma | |
176 | %{_pkgconfigdir}/pluma.pc | |
551cdaca | 177 | %{_datadir}/gir-1.0/Pluma-1.0.gir |
77cbe844 JB |
178 | |
179 | %files apidocs | |
180 | %defattr(644,root,root,755) | |
181 | %{_gtkdocdir}/pluma |