source: projects/specs/trunk/m/mate-text-editor/mate-text-editor-vl.spec @ 8068

Revision 8068, 3.4 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        An powerfull text editor for MATE
2Name:           mate-text-editor
3Version:        1.6.0
4Release:        2%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          Applications/Editors
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  gtk2-devel
13BuildRequires:  gtksourceview2-devel
14BuildRequires:  libsoup-devel
15BuildRequires:  enchant-devel
16BuildRequires:  libSM-devel
17BuildRequires:  iso-codes
18BuildRequires:  gtk-doc
19BuildRequires:  autoconf
20BuildRequires:  automake
21
22Requires(posttrans,postun):     glib2
23Requires(post,postun):  desktop-file-utils
24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       Takemikaduchi
30
31
32%description
33pluma is part of MATE and uses the latest GTK+ and MATE libraries.
34Complete MATE integration is featured, with support for Drag and Drop (DnD)
35from Caja (the MATE file manager), the use of the MATE help system,
36the MATE Virtual File System and the MATE print framework.
37
38
39%package        devel
40Summary:        Development tools for mate-text-editor
41Summary(ja):    mate-text-editor の開発環境
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       pkgconfig
45
46%description    devel
47Header files and libraries for building a extension library for the
48mate-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
69find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
70find $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
80update-desktop-database %{_datadir}/applications >& /dev/null ||:
81
82%postun
83/sbin/ldconfig
84if [ $1 -eq 0 ]; then
85  update-desktop-database %{_datadir}/applications >& /dev/null ||:
86  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
87fi
88
89%posttrans
90glib-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
Note: See TracBrowser for help on using the repository browser.