1 | Summary: An image viewing and cataloging program for MATE |
---|
2 | Name: mate-image-viewer |
---|
3 | Version: 1.6.1 |
---|
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/Graphics |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-doc-utils |
---|
12 | BuildRequires: mate-desktop-devel |
---|
13 | BuildRequires: mate-icon-theme |
---|
14 | BuildRequires: gtk2-devel |
---|
15 | BuildRequires: dbus-glib-devel |
---|
16 | BuildRequires: libxml2-devel |
---|
17 | BuildRequires: librsvg2-devel |
---|
18 | BuildRequires: libexif-devel |
---|
19 | BuildRequires: lcms-devel |
---|
20 | BuildRequires: exempi-devel |
---|
21 | BuildRequires: libjpeg-turbo-devel |
---|
22 | BuildRequires: gtk-doc |
---|
23 | BuildRequires: autoconf |
---|
24 | BuildRequires: automake |
---|
25 | |
---|
26 | Requires(posttrans,postun): glib2 |
---|
27 | Requires(post,postun): desktop-file-utils |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | |
---|
31 | Patch0: mate-image-viewer-1.2.0-configure.patch |
---|
32 | |
---|
33 | Vendor: Project Vine |
---|
34 | Distribution: Vine Linux |
---|
35 | Packager: Takemikaduchi |
---|
36 | |
---|
37 | |
---|
38 | %description |
---|
39 | This is the Eye of MATE, an image viewer program. It is meant to be |
---|
40 | a fast and functional image viewer. |
---|
41 | |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development tools for mate-image-viewer |
---|
45 | Summary(ja): mate-image-viewer の開発環境 |
---|
46 | Group: Development/Libraries |
---|
47 | Requires: %{name} = %{version}-%{release} |
---|
48 | Requires: pkgconfig |
---|
49 | |
---|
50 | %description devel |
---|
51 | Header files and libraries for building a extension library for the |
---|
52 | mate-image-viewer. |
---|
53 | |
---|
54 | |
---|
55 | %package docs |
---|
56 | Summary: Documentation for mate-image-viewer |
---|
57 | Summary(ja): mate-image-viewer 用のドキュメント |
---|
58 | Group: Documentation |
---|
59 | Requires: %{name} = %{version}-%{release} |
---|
60 | BuildArch: noarch |
---|
61 | |
---|
62 | %description docs |
---|
63 | This package contains documentation for mate-image-viewer. |
---|
64 | |
---|
65 | |
---|
66 | %prep |
---|
67 | %setup -q |
---|
68 | %patch0 -p1 |
---|
69 | |
---|
70 | |
---|
71 | %build |
---|
72 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
73 | %configure \ |
---|
74 | --disable-static |
---|
75 | |
---|
76 | %{__make} %{?_smp_mflags} |
---|
77 | |
---|
78 | |
---|
79 | %install |
---|
80 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
81 | |
---|
82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
83 | |
---|
84 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
86 | |
---|
87 | %find_lang eom |
---|
88 | |
---|
89 | |
---|
90 | %clean |
---|
91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
92 | |
---|
93 | %post |
---|
94 | /sbin/ldconfig |
---|
95 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
96 | touch --no-create %{_datadir}/icons/hicolor |
---|
97 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
98 | |
---|
99 | %postun |
---|
100 | /sbin/ldconfig |
---|
101 | if [ $1 -eq 0 ]; then |
---|
102 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
103 | touch --no-create %{_datadir}/icons/hicolor |
---|
104 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
105 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
106 | fi |
---|
107 | |
---|
108 | %posttrans |
---|
109 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
110 | |
---|
111 | |
---|
112 | %files -f eom.lang |
---|
113 | %defattr(-,root,root,-) |
---|
114 | %doc COPYING ChangeLog NEWS README |
---|
115 | %{_bindir}/eom |
---|
116 | %{_libdir}/eom/plugins |
---|
117 | %{_datadir}/MateConf/gsettings/eom.convert |
---|
118 | %{_datadir}/applications/eom.desktop |
---|
119 | %{_datadir}/glib-2.0/schemas/org.mate.eom.gschema.xml |
---|
120 | %{_datadir}/icons/hicolor/*/*/* |
---|
121 | %{_datadir}/mate/help/eom |
---|
122 | %{_datadir}/%{name} |
---|
123 | %{_datadir}/omf/eom |
---|
124 | %{_mandir}/man1/eom.1.gz |
---|
125 | |
---|
126 | %files devel |
---|
127 | %defattr(-,root,root,-) |
---|
128 | %{_includedir}/eom-2.20 |
---|
129 | %{_libdir}/pkgconfig/eom.pc |
---|
130 | |
---|
131 | %files docs |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %{_datadir}/gtk-doc/html/eom |
---|
134 | |
---|
135 | |
---|
136 | %changelog |
---|
137 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
138 | - rebuild with VineSeed environment |
---|
139 | |
---|
140 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
144 | - new upstream release |
---|
145 | - remove BuildRequires: mate-conf-devel |
---|
146 | |
---|
147 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
151 | - new upstream release |
---|
152 | - add Patch0 (mate-image-viewer-1.2.0-configure.patch) |
---|
153 | |
---|
154 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
155 | - change category |
---|
156 | |
---|
157 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
158 | - initial build for Vine Linux |
---|
159 | |
---|