source: projects/specs/trunk/e/eom/eom-vl.spec @ 11672

Revision 11672, 6.2 KB checked in by iwaim, 5 years ago (diff)

eom 1.20.0-1

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.0
3%define rel 1
4
5Summary:        An image viewing and cataloging program for MATE
6Name:           eom
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10License:        GPLv2
11Group:          Applications/Graphics
12URL:            http://mate-desktop.org/
13
14BuildRequires:  mate-common
15BuildRequires:  mate-desktop-devel
16BuildRequires:  mate-icon-theme
17BuildRequires:  gtk3-devel
18BuildRequires:  libpeas-devel
19BuildRequires:  dbus-glib-devel
20BuildRequires:  libxml2-devel
21BuildRequires:  librsvg2-devel
22BuildRequires:  libexif-devel
23BuildRequires:  lcms2-devel
24BuildRequires:  exempi-devel
25BuildRequires:  libjpeg-turbo-devel
26BuildRequires:  itstool
27BuildRequires:  gtk-doc
28BuildRequires:  autoconf
29BuildRequires:  automake
30
31Requires(posttrans,postun):     glib2
32Requires(post,postun):  desktop-file-utils
33
34Obsoletes:      mate-image-viewer < 1.8.0
35Provides:       mate-image-viewer = %{version}-%{release}
36
37BuildRoot:      %{_tmppath}/%{name}-%{version}-root
38
39Vendor:         Project Vine
40Distribution:   Vine Linux
41Packager:       Takemikaduchi, iwaim
42
43
44%description
45This is the Eye of MATE, an image viewer program.  It is meant to be
46a fast and functional image viewer.
47
48
49%package                devel
50Summary:        Development tools for mate-image-viewer
51Summary(ja):    mate-image-viewer の開発環境
52Group:          Development/Libraries
53Requires:       %{name} = %{version}-%{release}
54Requires:       pkgconfig
55Obsoletes:              mate-image-viewer-devel < 1.8.0
56Provides:               mate-image-viewer-devel = %{version}-%{release}
57
58%description    devel
59Header files and libraries for building a extension library for the
60mate-image-viewer.
61
62
63%package        docs
64Summary:        Documentation for mate-image-viewer
65Summary(ja):    mate-image-viewer 用のドキュメント
66Group:          Documentation
67Requires:       %{name} = %{version}-%{release}
68BuildArch:      noarch
69Obsoletes:              mate-image-viewer-docs < 1.8.0
70Provides:               mate-image-viewer-docs = %{version}-%{release}
71
72%description    docs
73This package contains documentation for mate-image-viewer.
74
75
76%prep
77%setup -q
78
79
80%build
81(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
82%configure \
83        --disable-static
84
85%{__make} %{?_smp_mflags}
86
87
88%install
89%{__rm} -rf ${RPM_BUILD_ROOT}
90
91%{__make} install DESTDIR=${RPM_BUILD_ROOT}
92
93find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
94find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
95
96%find_lang %{name}
97
98
99%clean
100%{__rm} -rf ${RPM_BUILD_ROOT}
101
102%post
103/sbin/ldconfig
104update-desktop-database %{_datadir}/applications >& /dev/null ||:
105touch --no-create %{_datadir}/icons/hicolor
106gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
107
108%postun
109/sbin/ldconfig
110if [ $1 -eq 0 ]; then
111  update-desktop-database %{_datadir}/applications >& /dev/null ||:
112  touch --no-create %{_datadir}/icons/hicolor
113  gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
114  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
115fi
116
117%posttrans
118glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
119
120
121%files -f %{name}.lang
122%defattr(-,root,root,-)
123%doc COPYING ChangeLog NEWS README
124%{_bindir}/%{name}
125%{_libdir}/%{name}/plugins
126%{_libdir}/girepository-1.0/Eom-1.0.typelib
127%{_datadir}/appdata/%{name}.appdata.xml
128%{_datadir}/applications/%{name}.desktop
129%{_datadir}/glib-2.0/schemas/org.mate.%{name}.enums.xml
130%{_datadir}/glib-2.0/schemas/org.mate.%{name}.gschema.xml
131%{_datadir}/icons/hicolor/*/*/*
132%{_datadir}/help/*
133%{_datadir}/%{name}
134%{_mandir}/man1/%{name}.1*
135
136%files devel
137%defattr(-,root,root,-)
138%{_includedir}/%{name}-2.20
139%{_libdir}/pkgconfig/%{name}.pc
140%{_datadir}/gir-1.0/Eom-1.0.gir
141
142%files docs
143%defattr(-,root,root,-)
144%{_datadir}/gtk-doc/html/%{name}
145
146
147%changelog
148* Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
149- update to 1.20.0
150
151* Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1
152- update to 1.18.3
153
154* Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
155- update to 1.18.2
156
157* Sat Apr  8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
158- update to 1.18.1
159- move to GTK3+
160- add BR: libpeas-devel
161- drop BR: python-devel and pygtk2-devel; upstream droped Python bindings
162
163* Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
164- update to 1.16.1
165
166* Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
167- new upstream release
168- update Packager
169
170* Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
171- new upstream release
172
173* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
174- new upstream release
175
176* Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
177- new upstream release
178
179* Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
180- new upstream release
181
182* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
183- new upstream release
184
185* Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
186- new upstream release
187
188* Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
189- new upstream release
190
191* Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
192- new upstream release
193
194* Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
195- new upstream release
196- add BuildRequires: python-devel, pygtk2-devel
197
198* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
199- new upstream release
200- add BuildRequires: lcms2-devel
201- remove BuildRequires: lcms-devel
202- remove Patch0 (mate-image-viewer-1.2.0-configure.patch)
203
204* Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
205- new upstream release
206
207* Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
208- new upstream release
209- rename package
210- add BuildRequires: itstool
211
212* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
213- rebuild with VineSeed environment
214
215* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
216- new upstream release
217
218* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
219- new upstream release
220- remove BuildRequires: mate-conf-devel
221
222* Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
223- new upstream release
224
225* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
226- new upstream release
227- add Patch0 (mate-image-viewer-1.2.0-configure.patch)
228
229* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
230- change category
231
232* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
233- initial build for Vine Linux
234
Note: See TracBrowser for help on using the repository browser.