source: projects/specs/trunk/p/pluma/pluma-vl.spec @ 8432

Revision 8432, 4.2 KB checked in by Takemikaduchi, 10 years ago (diff)

MATE-1.8.1

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