]>
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 |
551cdaca | 4 | Version: 1.18.0 |
37c02ab2 | 5 | Release: 1 |
77cbe844 | 6 | License: GPL v2+ |
d2e3ce6f | 7 | Group: X11/Applications/Editors |
551cdaca JP |
8 | Source0: http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 9cdf5c1a54ffb3d7626726f6c66ce842 | |
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 |
551cdaca | 17 | BuildRequires: gtk+3-devel >= 3.14 |
77cbe844 | 18 | BuildRequires: gtk-doc >= 1.0 |
551cdaca | 19 | BuildRequires: gtksourceview3-devel >= 3.0 |
66a714c4 | 20 | BuildRequires: intltool >= 0.50.1 |
77cbe844 | 21 | BuildRequires: iso-codes >= 0.35 |
551cdaca JP |
22 | BuildRequires: libpeas-devel >= 1.2.0 |
23 | BuildRequires: libpeas-gtk-devel >= 1.2.0 | |
af8af55b | 24 | BuildRequires: libsoup-devel >= 2.4 |
77cbe844 JB |
25 | BuildRequires: libtool >= 2:2.2.6 |
26 | BuildRequires: libxml2-devel >= 1:2.5.0 | |
27 | BuildRequires: mate-common | |
77cbe844 JB |
28 | BuildRequires: pkgconfig |
29 | BuildRequires: python-devel >= 1:2.5 | |
30 | BuildRequires: python-gtksourceview2-devel >= 2.9.2 | |
31 | BuildRequires: python-pygobject-devel >= 2.15.4 | |
32 | BuildRequires: python-pygtk-devel >= 2:2.12.0 | |
33 | BuildRequires: rpm-pythonprov | |
34 | BuildRequires: rpmbuild(find_lang) >= 1.36 | |
35 | BuildRequires: xorg-lib-libSM-devel >= 1.0.0 | |
36 | BuildRequires: xorg-lib-libX11-devel | |
cf9e9c57 | 37 | BuildRequires: yelp-tools |
37c02ab2 | 38 | Requires(post,postun): glib2 >= 1:2.36.0 |
77cbe844 | 39 | Requires: enchant >= 1.2.0 |
37c02ab2 | 40 | Requires: glib2 >= 1:2.36.0 |
551cdaca JP |
41 | Requires: gtk+3 >= 3.14 |
42 | Requires: gtksourceview3 >= 3.0 | |
77cbe844 | 43 | Requires: iso-codes >= 0.35 |
551cdaca JP |
44 | Requires: libpeas >= 1.2.0 |
45 | Requires: libpeas-gtk >= 1.2.0 | |
77cbe844 JB |
46 | Requires: libxml2 >= 1:2.5.0 |
47 | Requires: python-gtksourceview2 >= 2.9.2 | |
48 | Requires: python-pygobject >= 2.15.4 | |
49 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
50 | Requires: xorg-lib-libSM >= 1.0.0 | |
cf9e9c57 | 51 | Obsoletes: mate-text-editor |
77cbe844 JB |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
54 | %description | |
55 | Pluma is a small and lightweight UTF-8 text editor for the MATE | |
56 | environment. Based on gedit, the text editor for the GNOME 2 | |
57 | environment. | |
58 | ||
59 | %description -l pl.UTF-8 | |
ac849814 ER |
60 | Pluma to mały i lekki edytor tekstu w UTF-8 dla środowiska MATE. Jest |
61 | oparty na programie gedit - edytorze tekstu dla środowiska GNOME 2. | |
77cbe844 JB |
62 | |
63 | %package devel | |
64 | Summary: Header files for Pluma plugins development | |
65 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek edytora Pluma | |
66 | Group: X11/Development/Libraries | |
67 | # doesn't require base | |
37c02ab2 | 68 | Requires: glib2-devel >= 1:2.36.0 |
551cdaca JP |
69 | Requires: gtk+3-devel >= 3.14 |
70 | Requires: gtksourceview3-devel >= 3.0 | |
77cbe844 JB |
71 | |
72 | %description devel | |
73 | Header files for Pluma plugins development. | |
74 | ||
75 | %description devel -l pl.UTF-8 | |
76 | Pliki nagłówkowe do tworzenia wtyczek edytora Pluma. | |
77 | ||
78 | %package apidocs | |
79 | Summary: Pluma API documentation | |
80 | Summary(pl.UTF-8): Dokumentacja API edytora Pluma | |
81 | Group: Documentation | |
ac849814 ER |
82 | %if "%{_rpmversion}" >= "5" |
83 | BuildArch: noarch | |
84 | %endif | |
77cbe844 JB |
85 | |
86 | %description apidocs | |
87 | Pluma API documentation. | |
88 | ||
89 | %description apidocs -l pl.UTF-8 | |
90 | Dokumentacja API edytora Pluma. | |
91 | ||
92 | %prep | |
93 | %setup -q | |
77cbe844 JB |
94 | |
95 | %build | |
96 | mate-doc-common --copy | |
77cbe844 JB |
97 | %{__intltoolize} |
98 | %{__libtoolize} | |
99 | %{__aclocal} -I m4 | |
100 | %{__autoconf} | |
101 | %{__autoheader} | |
102 | %{__automake} | |
103 | %configure \ | |
104 | --disable-schemas-compile \ | |
105 | --disable-silent-rules \ | |
106 | --with-html-dir=%{_gtkdocdir} | |
107 | ||
108 | %{__make} | |
109 | ||
110 | %install | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | %{__make} install \ | |
113 | DESTDIR=$RPM_BUILD_ROOT | |
114 | ||
551cdaca JP |
115 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pluma/plugins/*.la |
116 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ku_IQ,pms} | |
77cbe844 | 117 | |
af8af55b | 118 | %find_lang pluma --with-mate |
77cbe844 JB |
119 | |
120 | %clean | |
121 | rm -rf $RPM_BUILD_ROOT | |
122 | ||
123 | %post | |
124 | %glib_compile_schemas | |
125 | ||
126 | %postun | |
127 | %glib_compile_schemas | |
128 | ||
129 | %files -f pluma.lang | |
130 | %defattr(644,root,root,755) | |
131 | %doc AUTHORS ChangeLog NEWS README | |
77cbe844 JB |
132 | %attr(755,root,root) %{_bindir}/pluma |
133 | %dir %{_libdir}/pluma | |
134 | %attr(755,root,root) %{_libdir}/pluma/pluma-bugreport.sh | |
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 |
77cbe844 JB |
153 | # Python plugins |
154 | %{_libdir}/pluma/plugins/externaltools | |
551cdaca | 155 | %{_libdir}/pluma/plugins/externaltools.plugin |
77cbe844 | 156 | %{_libdir}/pluma/plugins/pythonconsole |
551cdaca | 157 | %{_libdir}/pluma/plugins/pythonconsole.plugin |
77cbe844 | 158 | %{_libdir}/pluma/plugins/quickopen |
551cdaca | 159 | %{_libdir}/pluma/plugins/quickopen.plugin |
77cbe844 | 160 | %{_libdir}/pluma/plugins/snippets |
551cdaca JP |
161 | %{_libdir}/pluma/plugins/snippets.plugin |
162 | %attr(755,root,root) %{_libdir}/pluma/plugins/libtrailsave.so | |
163 | %{_libdir}/pluma/plugins/trailsave.plugin | |
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 |