1 | %define major_ver 1.18 |
---|
2 | %define ver %{major_ver}.3 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: An powerfull text editor for MATE |
---|
6 | Name: pluma |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
10 | License: GPLv2 |
---|
11 | Group: Applications/Editors |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: gtk3-devel |
---|
16 | BuildRequires: gtksourceview3-devel |
---|
17 | BuildRequires: mate-desktop-devel |
---|
18 | BuildRequires: libpeas-devel |
---|
19 | BuildRequires: caja-devel |
---|
20 | BuildRequires: libsoup-devel |
---|
21 | BuildRequires: enchant-devel |
---|
22 | BuildRequires: libSM-devel |
---|
23 | BuildRequires: iso-codes |
---|
24 | BuildRequires: itstool |
---|
25 | BuildRequires: gtk-doc |
---|
26 | BuildRequires: autoconf |
---|
27 | BuildRequires: automake |
---|
28 | |
---|
29 | Requires(posttrans,postun): glib2 |
---|
30 | Requires(post,postun): desktop-file-utils |
---|
31 | |
---|
32 | Obsoletes: mate-text-editor < 1.8.0 |
---|
33 | Provides: mate-text-editor = %{version}-%{release} |
---|
34 | |
---|
35 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
36 | |
---|
37 | Vendor: Project Vine |
---|
38 | Distribution: Vine Linux |
---|
39 | Packager: Takemikaduchi, iwaim |
---|
40 | |
---|
41 | |
---|
42 | %description |
---|
43 | Pluma is part of MATE and uses the latest GTK+ and MATE libraries. |
---|
44 | Complete MATE integration is featured, with support for Drag and Drop (DnD) |
---|
45 | from Caja (the MATE file manager), the use of the MATE help system, |
---|
46 | the MATE Virtual File System and the MATE print framework. |
---|
47 | |
---|
48 | |
---|
49 | %package devel |
---|
50 | Summary: Development tools for %{name} |
---|
51 | Summary(ja): %{name} の開発環境 |
---|
52 | Group: Development/Libraries |
---|
53 | Requires: %{name} = %{version}-%{release} |
---|
54 | Requires: pkgconfig |
---|
55 | Obsoletes: mate-text-editor < 1.8.0 |
---|
56 | Provides: mate-text-editor = %{version}-%{release} |
---|
57 | |
---|
58 | %description devel |
---|
59 | Header files and libraries for building a extension library for the |
---|
60 | %{name}. |
---|
61 | |
---|
62 | |
---|
63 | %package docs |
---|
64 | Summary: Documentation for %{name} |
---|
65 | Summary(ja): %{name} 用のドキュメント |
---|
66 | Group: Documentation |
---|
67 | Requires: %{name} = %{version}-%{release} |
---|
68 | BuildArch: noarch |
---|
69 | Obsoletes: mate-file-manager-doc < 1.8.0 |
---|
70 | Provides: mate-file-manager-doc = %{version}-%{release} |
---|
71 | |
---|
72 | %description docs |
---|
73 | This package contains documentation for %{name}. |
---|
74 | |
---|
75 | |
---|
76 | %prep |
---|
77 | %setup -q |
---|
78 | |
---|
79 | |
---|
80 | %build |
---|
81 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
82 | %configure \ |
---|
83 | --libexecdir=%{_libexecdir}/mate \ |
---|
84 | --disable-static |
---|
85 | |
---|
86 | %{__make} %{?_smp_mflags} |
---|
87 | |
---|
88 | |
---|
89 | %install |
---|
90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
91 | |
---|
92 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
93 | |
---|
94 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
95 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
96 | |
---|
97 | %find_lang %{name} |
---|
98 | |
---|
99 | |
---|
100 | %clean |
---|
101 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
102 | |
---|
103 | %post |
---|
104 | /sbin/ldconfig |
---|
105 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
106 | |
---|
107 | %postun |
---|
108 | /sbin/ldconfig |
---|
109 | if [ $1 -eq 0 ]; then |
---|
110 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
111 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
112 | fi |
---|
113 | |
---|
114 | %posttrans |
---|
115 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
116 | |
---|
117 | |
---|
118 | %files -f %{name}.lang |
---|
119 | %defattr(-,root,root,-) |
---|
120 | %doc COPYING ChangeLog NEWS README |
---|
121 | %{_bindir}/%{name} |
---|
122 | #%{_libdir}/%{name}/plugin-loaders/libcloader.so |
---|
123 | %{_libdir}/girepository-1.0/Pluma-1.0.typelib |
---|
124 | %{_libdir}/%{name}/plugins |
---|
125 | %{_libexecdir}/mate/%{name}/pluma-bugreport.sh |
---|
126 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
127 | %{_datadir}/applications/%{name}.desktop |
---|
128 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml |
---|
129 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml |
---|
130 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml |
---|
131 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml |
---|
132 | %{_datadir}/help/* |
---|
133 | %{_datadir}/%{name} |
---|
134 | %{_mandir}/man1/%{name}.1.gz |
---|
135 | |
---|
136 | %files devel |
---|
137 | %defattr(-,root,root,-) |
---|
138 | %{_includedir}/%{name} |
---|
139 | %{_libdir}/pkgconfig/%{name}.pc |
---|
140 | %{_datadir}/gir-1.0/Pluma-1.0.gir |
---|
141 | |
---|
142 | %files docs |
---|
143 | %defattr(-,root,root,-) |
---|
144 | %{_datadir}/gtk-doc/html/%{name} |
---|
145 | |
---|
146 | |
---|
147 | %changelog |
---|
148 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1 |
---|
149 | - update to 1.18.3 |
---|
150 | |
---|
151 | * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
152 | - update to 1.18.2 |
---|
153 | |
---|
154 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
155 | - update to 1.18.1 |
---|
156 | - move to GTK3+ |
---|
157 | - add BR: libpeas-devel and caja-devel |
---|
158 | - add Pluma gir/typelib file |
---|
159 | - drop plugin-loaders |
---|
160 | |
---|
161 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
162 | - update to 1.16.1 |
---|
163 | |
---|
164 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
165 | - new upstream release |
---|
166 | - update Packager |
---|
167 | |
---|
168 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
169 | - new upstream release |
---|
170 | |
---|
171 | * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
172 | - new upstream release |
---|
173 | |
---|
174 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
175 | - new upstream release |
---|
176 | |
---|
177 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
178 | - new upstream release |
---|
179 | |
---|
180 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
181 | - new upstream release |
---|
182 | |
---|
183 | * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
184 | - new upstream release |
---|
185 | |
---|
186 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
187 | - new upstream release |
---|
188 | - add BuildRequires: mate-desktop-devel |
---|
189 | |
---|
190 | * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
191 | - new upstream release |
---|
192 | |
---|
193 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
194 | - new upstream release |
---|
195 | - rename package |
---|
196 | - add BuildRequires: itstool |
---|
197 | |
---|
198 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
199 | - rebuild with VineSeed environment |
---|
200 | |
---|
201 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
205 | - new upstream release |
---|
206 | - remove Patch0 (mate-text-editor-1.2.0-configure.patch) |
---|
207 | |
---|
208 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
209 | - new upstream release |
---|
210 | - add Patch0 (mate-text-editor-1.2.0-configure.patch) |
---|
211 | |
---|
212 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
213 | - change category |
---|
214 | |
---|
215 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
216 | - initial build for Vine Linux |
---|
217 | |
---|