]> git.pld-linux.org Git - packages/pluma.git/blob - pluma.spec
up to 1.18.0
[packages/pluma.git] / pluma.spec
1 Summary:        Pluma - MATE Text Editor
2 Summary(pl.UTF-8):      Pluma - edytor tekstu dla środowiska MATE
3 Name:           pluma
4 Version:        1.18.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Editors
8 Source0:        http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz
9 # Source0-md5:  9cdf5c1a54ffb3d7626726f6c66ce842
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
15 BuildRequires:  gettext-tools >= 0.17
16 BuildRequires:  glib2-devel >= 1:2.36.0
17 BuildRequires:  gtk+3-devel >= 3.14
18 BuildRequires:  gtk-doc >= 1.0
19 BuildRequires:  gtksourceview3-devel >= 3.0
20 BuildRequires:  intltool >= 0.50.1
21 BuildRequires:  iso-codes >= 0.35
22 BuildRequires:  libpeas-devel >= 1.2.0
23 BuildRequires:  libpeas-gtk-devel >= 1.2.0
24 BuildRequires:  libsoup-devel >= 2.4
25 BuildRequires:  libtool >= 2:2.2.6
26 BuildRequires:  libxml2-devel >= 1:2.5.0
27 BuildRequires:  mate-common
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
37 BuildRequires:  yelp-tools
38 Requires(post,postun):  glib2 >= 1:2.36.0
39 Requires:       enchant >= 1.2.0
40 Requires:       glib2 >= 1:2.36.0
41 Requires:       gtk+3 >= 3.14
42 Requires:       gtksourceview3 >= 3.0
43 Requires:       iso-codes >= 0.35
44 Requires:       libpeas >= 1.2.0
45 Requires:       libpeas-gtk >= 1.2.0
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
51 Obsoletes:      mate-text-editor
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
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.
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
68 Requires:       glib2-devel >= 1:2.36.0
69 Requires:       gtk+3-devel >= 3.14
70 Requires:       gtksourceview3-devel >= 3.0
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
82 %if "%{_rpmversion}" >= "5"
83 BuildArch:      noarch
84 %endif
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
94
95 %build
96 mate-doc-common --copy
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
115 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pluma/plugins/*.la
116 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ku_IQ,pms}
117
118 %find_lang pluma --with-mate
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
132 %attr(755,root,root) %{_bindir}/pluma
133 %dir %{_libdir}/pluma
134 %attr(755,root,root) %{_libdir}/pluma/pluma-bugreport.sh
135 %dir %{_libdir}/pluma/plugins
136 # C plugins
137 %attr(755,root,root) %{_libdir}/pluma/plugins/libchangecase.so
138 %{_libdir}/pluma/plugins/changecase.plugin
139 %attr(755,root,root) %{_libdir}/pluma/plugins/libdocinfo.so
140 %{_libdir}/pluma/plugins/docinfo.plugin
141 %attr(755,root,root) %{_libdir}/pluma/plugins/libfilebrowser.so
142 %{_libdir}/pluma/plugins/filebrowser.plugin
143 %attr(755,root,root) %{_libdir}/pluma/plugins/libmodelines.so
144 %{_libdir}/pluma/plugins/modelines.plugin
145 %attr(755,root,root) %{_libdir}/pluma/plugins/libsort.so
146 %{_libdir}/pluma/plugins/sort.plugin
147 %attr(755,root,root) %{_libdir}/pluma/plugins/libspell.so
148 %{_libdir}/pluma/plugins/spell.plugin
149 %attr(755,root,root) %{_libdir}/pluma/plugins/libtaglist.so
150 %{_libdir}/pluma/plugins/taglist.plugin
151 %attr(755,root,root) %{_libdir}/pluma/plugins/libtime.so
152 %{_libdir}/pluma/plugins/time.plugin
153 # Python plugins
154 %{_libdir}/pluma/plugins/externaltools
155 %{_libdir}/pluma/plugins/externaltools.plugin
156 %{_libdir}/pluma/plugins/pythonconsole
157 %{_libdir}/pluma/plugins/pythonconsole.plugin
158 %{_libdir}/pluma/plugins/quickopen
159 %{_libdir}/pluma/plugins/quickopen.plugin
160 %{_libdir}/pluma/plugins/snippets
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
165 %{_datadir}/appdata/pluma.appdata.xml
166 %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml
167 %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml
168 %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml
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
178 %{_datadir}/gir-1.0/Pluma-1.0.gir
179
180 %files apidocs
181 %defattr(644,root,root,755)
182 %{_gtkdocdir}/pluma
This page took 0.260236 seconds and 4 git commands to generate.