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