]>
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 |
3f6ec2f2 | 4 | Version: 1.20.1 |
027e3d04 | 5 | Release: 1 |
77cbe844 | 6 | License: GPL v2+ |
d2e3ce6f | 7 | Group: X11/Applications/Editors |
7ddcac00 | 8 | Source0: http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz |
3f6ec2f2 | 9 | # Source0-md5: ad0467e97503639ac6b2247211dbf3f0 |
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 |
7ddcac00 | 16 | BuildRequires: glib2-devel >= 1:2.50.0 |
a912927f | 17 | BuildRequires: gobject-introspection-devel >= 0.9.3 |
7ddcac00 | 18 | BuildRequires: gtk+3-devel >= 3.22 |
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 |
7ddcac00 | 36 | Requires(post,postun): glib2 >= 1:2.50.0 |
77cbe844 | 37 | Requires: enchant >= 1.2.0 |
7ddcac00 | 38 | Requires: glib2 >= 1:2.50.0 |
a912927f | 39 | Requires: gobject-introspection >= 0.9.3 |
7ddcac00 | 40 | Requires: gtk+3 >= 3.22 |
551cdaca | 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 | |
7ddcac00 JP |
67 | Requires: glib2-devel >= 1:2.50.0 |
68 | Requires: gtk+3-devel >= 3.22 | |
551cdaca | 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 | 114 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pluma/plugins/*.la |
7ddcac00 | 115 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ku_IQ,jv,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 | 131 | %attr(755,root,root) %{_bindir}/pluma |
7ddcac00 JP |
132 | %dir %{_libexecdir}/pluma |
133 | %attr(755,root,root) %{_libexecdir}/pluma/pluma-bugreport.sh | |
77cbe844 | 134 | %dir %{_libdir}/pluma |
77cbe844 JB |
135 | %dir %{_libdir}/pluma/plugins |
136 | # C plugins | |
137 | %attr(755,root,root) %{_libdir}/pluma/plugins/libchangecase.so | |
551cdaca | 138 | %{_libdir}/pluma/plugins/changecase.plugin |
77cbe844 | 139 | %attr(755,root,root) %{_libdir}/pluma/plugins/libdocinfo.so |
551cdaca | 140 | %{_libdir}/pluma/plugins/docinfo.plugin |
77cbe844 | 141 | %attr(755,root,root) %{_libdir}/pluma/plugins/libfilebrowser.so |
551cdaca | 142 | %{_libdir}/pluma/plugins/filebrowser.plugin |
77cbe844 | 143 | %attr(755,root,root) %{_libdir}/pluma/plugins/libmodelines.so |
551cdaca | 144 | %{_libdir}/pluma/plugins/modelines.plugin |
77cbe844 | 145 | %attr(755,root,root) %{_libdir}/pluma/plugins/libsort.so |
551cdaca | 146 | %{_libdir}/pluma/plugins/sort.plugin |
77cbe844 | 147 | %attr(755,root,root) %{_libdir}/pluma/plugins/libspell.so |
551cdaca | 148 | %{_libdir}/pluma/plugins/spell.plugin |
77cbe844 | 149 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtaglist.so |
551cdaca | 150 | %{_libdir}/pluma/plugins/taglist.plugin |
77cbe844 | 151 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtime.so |
551cdaca | 152 | %{_libdir}/pluma/plugins/time.plugin |
a912927f JB |
153 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtrailsave.so |
154 | %{_libdir}/pluma/plugins/trailsave.plugin | |
77cbe844 JB |
155 | # Python plugins |
156 | %{_libdir}/pluma/plugins/externaltools | |
551cdaca | 157 | %{_libdir}/pluma/plugins/externaltools.plugin |
77cbe844 | 158 | %{_libdir}/pluma/plugins/pythonconsole |
551cdaca | 159 | %{_libdir}/pluma/plugins/pythonconsole.plugin |
77cbe844 | 160 | %{_libdir}/pluma/plugins/quickopen |
551cdaca | 161 | %{_libdir}/pluma/plugins/quickopen.plugin |
77cbe844 | 162 | %{_libdir}/pluma/plugins/snippets |
551cdaca | 163 | %{_libdir}/pluma/plugins/snippets.plugin |
551cdaca | 164 | %{_libdir}/girepository-1.0/Pluma-1.0.typelib |
37c02ab2 | 165 | %{_datadir}/appdata/pluma.appdata.xml |
77cbe844 JB |
166 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml |
167 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml | |
05c73260 | 168 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml |
77cbe844 JB |
169 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml |
170 | %{_datadir}/pluma | |
171 | %{_desktopdir}/pluma.desktop | |
172 | %{_mandir}/man1/pluma.1* | |
173 | ||
174 | %files devel | |
175 | %defattr(644,root,root,755) | |
176 | %{_includedir}/pluma | |
177 | %{_pkgconfigdir}/pluma.pc | |
551cdaca | 178 | %{_datadir}/gir-1.0/Pluma-1.0.gir |
77cbe844 JB |
179 | |
180 | %files apidocs | |
181 | %defattr(644,root,root,755) | |
182 | %{_gtkdocdir}/pluma |