1 | Summary: Simply a document viewer for MATE |
---|
2 | Name: mate-document-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/Publishing |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-doc-utils |
---|
12 | BuildRequires: mate-icon-theme |
---|
13 | BuildRequires: mate-file-manager-devel |
---|
14 | BuildRequires: libmatekeyring-devel |
---|
15 | BuildRequires: gtk2-devel |
---|
16 | BuildRequires: libxml2-devel |
---|
17 | BuildRequires: libSM-devel |
---|
18 | BuildRequires: poppler-devel |
---|
19 | BuildRequires: libtiff-devel |
---|
20 | BuildRequires: djvulibre-devel |
---|
21 | BuildRequires: libspectre-devel |
---|
22 | BuildRequires: libkpathsea-devel |
---|
23 | BuildRequires: libgxps-devel |
---|
24 | BuildRequires: gtk-doc |
---|
25 | BuildRequires: autoconf |
---|
26 | BuildRequires: automake |
---|
27 | |
---|
28 | Requires(posttrans,postun): glib2 |
---|
29 | Requires(post,postun): gtk2 |
---|
30 | Requires(post,postun): desktop-file-utils |
---|
31 | |
---|
32 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
33 | |
---|
34 | Vendor: Project Vine |
---|
35 | Distribution: Vine Linux |
---|
36 | Packager: Takemikaduchi |
---|
37 | |
---|
38 | |
---|
39 | %description |
---|
40 | he MATE Display Manager is a system service that is responsible for |
---|
41 | providing graphical log-ins and managing local and remote displays. |
---|
42 | |
---|
43 | |
---|
44 | %package devel |
---|
45 | Summary: Development tools for mate-document-viewer |
---|
46 | Summary(ja): mate-document-viewer の開発環境 |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: pkgconfig |
---|
50 | |
---|
51 | %description devel |
---|
52 | Header files and libraries for building a extension library for the |
---|
53 | mate-document-viewer. |
---|
54 | |
---|
55 | |
---|
56 | %package docs |
---|
57 | Summary: Documentation for %{name} |
---|
58 | Summary(ja): %{name} 用のドキュメント |
---|
59 | Group: Documentation |
---|
60 | Requires: %{name} = %{version}-%{release} |
---|
61 | BuildArch: noarch |
---|
62 | |
---|
63 | %description docs |
---|
64 | This package contains documentation for %{name}. |
---|
65 | |
---|
66 | |
---|
67 | %prep |
---|
68 | %setup -q |
---|
69 | |
---|
70 | |
---|
71 | %build |
---|
72 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
73 | %configure \ |
---|
74 | --libexecdir=%{_libexecdir}/mate \ |
---|
75 | --disable-static |
---|
76 | |
---|
77 | %{__make} %{?_smp_mflags} |
---|
78 | |
---|
79 | |
---|
80 | %install |
---|
81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
82 | |
---|
83 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
84 | |
---|
85 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
86 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
87 | |
---|
88 | %find_lang atril |
---|
89 | |
---|
90 | |
---|
91 | %clean |
---|
92 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
93 | |
---|
94 | %post |
---|
95 | /sbin/ldconfig |
---|
96 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
97 | touch --no-create %{_datadir}/icons/hicolor |
---|
98 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
99 | |
---|
100 | %postun |
---|
101 | /sbin/ldconfig |
---|
102 | if [ $1 -eq 0 ]; then |
---|
103 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
104 | touch --no-create %{_datadir}/icons/hicolor |
---|
105 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
106 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
107 | fi |
---|
108 | |
---|
109 | %posttrans |
---|
110 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
111 | |
---|
112 | |
---|
113 | %files -f atril.lang |
---|
114 | %defattr(-,root,root,-) |
---|
115 | %doc COPYING ChangeLog NEWS README |
---|
116 | %{_bindir}/atril |
---|
117 | %{_bindir}/atril-previewer |
---|
118 | %{_bindir}/atril-thumbnailer |
---|
119 | %{_libdir}/libatrildocument.so.* |
---|
120 | %{_libdir}/libatrilview.so.* |
---|
121 | %{_libdir}/atril |
---|
122 | %{_libdir}/caja/extensions-2.0/libatril-properties-page.so |
---|
123 | %{_libexecdir}/mate/atril-convert-metadata |
---|
124 | %{_libexecdir}/mate/atrild |
---|
125 | %{_datadir}/MateConf/gsettings/atril.convert |
---|
126 | %{_datadir}/applications/atril.desktop |
---|
127 | %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service |
---|
128 | %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml |
---|
129 | %{_datadir}/icons/hicolor/*/*/* |
---|
130 | %{_datadir}/mate/help/atril |
---|
131 | %{_datadir}/%{name} |
---|
132 | %{_datadir}/omf/atril |
---|
133 | %{_datadir}/thumbnailers/atril.thumbnailer |
---|
134 | %{_mandir}/man1/atril.1.gz |
---|
135 | %{_mandir}/man1/atril-previewer.1.gz |
---|
136 | %{_mandir}/man1/atril-thumbnailer.1.gz |
---|
137 | |
---|
138 | %files devel |
---|
139 | %defattr(-,root,root,-) |
---|
140 | %{_includedir}/atril |
---|
141 | %{_libdir}/libatrildocument.so |
---|
142 | %{_libdir}/libatrilview.so |
---|
143 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
144 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
145 | |
---|
146 | %files docs |
---|
147 | %defattr(-,root,root,-) |
---|
148 | %{_datadir}/gtk-doc/html/atril |
---|
149 | %{_datadir}/gtk-doc/html/libatrildocument-1.5.0 |
---|
150 | %{_datadir}/gtk-doc/html/libatrilview-1.5.0 |
---|
151 | |
---|
152 | |
---|
153 | %changelog |
---|
154 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
155 | - rebuild with VineSeed environment |
---|
156 | |
---|
157 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
158 | - new upstream release |
---|
159 | |
---|
160 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
161 | - new upstream release |
---|
162 | - remove BuildRequires: mate-conf-devel |
---|
163 | - add BuildRequires: libgxps-devel |
---|
164 | |
---|
165 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
166 | - new upstream release |
---|
167 | |
---|
168 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
169 | - new upstream release |
---|
170 | |
---|
171 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
172 | - change category |
---|
173 | |
---|
174 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
175 | - initial build for Vine Linux |
---|
176 | |
---|