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