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