[11670] | 1 | %define major_ver 1.20 |
---|
| 2 | %define ver %{major_ver}.1 |
---|
[11019] | 3 | %define rel 1 |
---|
| 4 | |
---|
[8359] | 5 | Summary: An powerfull text editor for MATE |
---|
| 6 | Name: pluma |
---|
[11019] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[8359] | 10 | License: GPLv2 |
---|
| 11 | Group: Applications/Editors |
---|
| 12 | URL: http://mate-desktop.org/ |
---|
| 13 | |
---|
| 14 | BuildRequires: mate-common |
---|
[11019] | 15 | BuildRequires: gtk3-devel |
---|
| 16 | BuildRequires: gtksourceview3-devel |
---|
[9552] | 17 | BuildRequires: mate-desktop-devel |
---|
[11019] | 18 | BuildRequires: libpeas-devel |
---|
| 19 | BuildRequires: caja-devel |
---|
[8359] | 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 |
---|
[10904] | 39 | Packager: Takemikaduchi, iwaim |
---|
[8359] | 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} |
---|
[11019] | 122 | #%{_libdir}/%{name}/plugin-loaders/libcloader.so |
---|
| 123 | %{_libdir}/girepository-1.0/Pluma-1.0.typelib |
---|
[8359] | 124 | %{_libdir}/%{name}/plugins |
---|
| 125 | %{_libexecdir}/mate/%{name}/pluma-bugreport.sh |
---|
[9552] | 126 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
[8359] | 127 | %{_datadir}/applications/%{name}.desktop |
---|
| 128 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml |
---|
[10255] | 129 | %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml |
---|
[8359] | 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 |
---|
[11019] | 140 | %{_datadir}/gir-1.0/Pluma-1.0.gir |
---|
[8359] | 141 | |
---|
| 142 | %files docs |
---|
| 143 | %defattr(-,root,root,-) |
---|
| 144 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | %changelog |
---|
[11670] | 148 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1 |
---|
| 149 | - update to 1.20.1 |
---|
| 150 | |
---|
[11416] | 151 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1 |
---|
| 152 | - update to 1.18.3 |
---|
| 153 | |
---|
[11080] | 154 | * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 155 | - update to 1.18.2 |
---|
| 156 | |
---|
[11019] | 157 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 158 | - update to 1.18.1 |
---|
| 159 | - move to GTK3+ |
---|
| 160 | - add BR: libpeas-devel and caja-devel |
---|
| 161 | - add Pluma gir/typelib file |
---|
| 162 | - drop plugin-loaders |
---|
| 163 | |
---|
[10987] | 164 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
| 165 | - update to 1.16.1 |
---|
| 166 | |
---|
[10904] | 167 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 168 | - new upstream release |
---|
| 169 | - update Packager |
---|
| 170 | |
---|
[10255] | 171 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[10039] | 174 | * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[9842] | 177 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
[9797] | 180 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[9667] | 183 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[9661] | 186 | * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[9552] | 189 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 190 | - new upstream release |
---|
| 191 | - add BuildRequires: mate-desktop-devel |
---|
| 192 | |
---|
[8432] | 193 | * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
[8359] | 196 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 197 | - new upstream release |
---|
| 198 | - rename package |
---|
| 199 | - add BuildRequires: itstool |
---|
| 200 | |
---|
| 201 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 202 | - rebuild with VineSeed environment |
---|
| 203 | |
---|
| 204 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
| 207 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 208 | - new upstream release |
---|
| 209 | - remove Patch0 (mate-text-editor-1.2.0-configure.patch) |
---|
| 210 | |
---|
| 211 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 212 | - new upstream release |
---|
| 213 | - add Patch0 (mate-text-editor-1.2.0-configure.patch) |
---|
| 214 | |
---|
| 215 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 216 | - change category |
---|
| 217 | |
---|
| 218 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 219 | - initial build for Vine Linux |
---|
| 220 | |
---|