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