[8359] | 1 | Summary: Simply a document viewer for MATE |
---|
| 2 | Name: atril |
---|
[10255] | 3 | Version: 1.14.0 |
---|
[9726] | 4 | Release: 1%{?_dist_release} |
---|
[10255] | 5 | Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz |
---|
[8359] | 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 |
---|
[9552] | 13 | BuildRequires: mate-desktop-devel |
---|
[8359] | 14 | BuildRequires: mate-file-manager-devel |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: libxml2-devel |
---|
[9552] | 17 | BuildRequires: WebKit-gtk-devel |
---|
[8359] | 18 | BuildRequires: libSM-devel |
---|
| 19 | BuildRequires: poppler-devel |
---|
| 20 | BuildRequires: libtiff-devel |
---|
| 21 | BuildRequires: djvulibre-devel |
---|
| 22 | BuildRequires: libspectre-devel |
---|
| 23 | BuildRequires: libkpathsea-devel |
---|
| 24 | BuildRequires: libgxps-devel |
---|
| 25 | BuildRequires: libsecret-devel |
---|
| 26 | BuildRequires: itstool |
---|
| 27 | BuildRequires: gtk-doc |
---|
| 28 | BuildRequires: autoconf |
---|
| 29 | BuildRequires: automake |
---|
| 30 | |
---|
| 31 | Requires(posttrans,postun): glib2 |
---|
| 32 | Requires(post,postun): gtk2 |
---|
| 33 | Requires(post,postun): desktop-file-utils |
---|
| 34 | |
---|
| 35 | Obsoletes: mate-document-viewer < 1.8.0 |
---|
| 36 | Provides: mate-document-viewer = %{name}-%{version} |
---|
| 37 | |
---|
| 38 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 39 | |
---|
| 40 | Vendor: Project Vine |
---|
| 41 | Distribution: Vine Linux |
---|
| 42 | Packager: Takemikaduchi |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %description |
---|
| 46 | he MATE Display Manager is a system service that is responsible for |
---|
| 47 | providing graphical log-ins and managing local and remote displays. |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %package devel |
---|
| 51 | Summary: Development tools for %{name} |
---|
| 52 | Summary(ja): %{name} の開発環境 |
---|
| 53 | Group: Development/Libraries |
---|
| 54 | Requires: %{name} = %{version}-%{release} |
---|
| 55 | Requires: pkgconfig |
---|
| 56 | Obsoletes: mate-document-viewer-devel < 1.8.0 |
---|
| 57 | Provides: mate-document-viewer-devel = %{name}-%{version} |
---|
| 58 | |
---|
| 59 | %description devel |
---|
| 60 | Header files and libraries for building a extension library for the |
---|
| 61 | %{name}. |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %package docs |
---|
| 65 | Summary: Documentation for %{name} |
---|
| 66 | Summary(ja): %{name} 用のドキュメント |
---|
| 67 | Group: Documentation |
---|
| 68 | Requires: %{name} = %{version}-%{release} |
---|
| 69 | BuildArch: noarch |
---|
| 70 | Obsoletes: mate-document-viewer-docs < 1.8.0 |
---|
| 71 | Provides: mate-document-viewer-docs = %{name}-%{version} |
---|
| 72 | |
---|
| 73 | %description docs |
---|
| 74 | This package contains documentation for %{name}. |
---|
| 75 | |
---|
| 76 | |
---|
[9667] | 77 | %package caja |
---|
| 78 | Summary: Caja extension for %{name} |
---|
| 79 | Summary(ja): %{name} の Caja 拡張 |
---|
| 80 | Group: User Interface/Desktops |
---|
| 81 | Requires: %{name} = %{version}-%{release} |
---|
| 82 | |
---|
| 83 | %description caja |
---|
| 84 | This package contains the atril caja extension. |
---|
| 85 | |
---|
| 86 | |
---|
[8359] | 87 | %prep |
---|
| 88 | %setup -q |
---|
[9705] | 89 | # fix typo in ja.po |
---|
| 90 | sed -i "s|Artil|Atril|" po/ja.po |
---|
[8359] | 91 | |
---|
| 92 | |
---|
| 93 | %build |
---|
| 94 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 95 | %configure \ |
---|
| 96 | --libexecdir=%{_libexecdir}/mate \ |
---|
[9552] | 97 | --disable-static \ |
---|
| 98 | --enable-pixbuf |
---|
[8359] | 99 | |
---|
| 100 | %{__make} %{?_smp_mflags} |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | %install |
---|
| 104 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 105 | |
---|
| 106 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 107 | |
---|
| 108 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 109 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 110 | |
---|
| 111 | %find_lang %{name} |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | %clean |
---|
| 115 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 116 | |
---|
| 117 | %post |
---|
| 118 | /sbin/ldconfig |
---|
| 119 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 120 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 121 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 122 | |
---|
| 123 | %postun |
---|
| 124 | /sbin/ldconfig |
---|
| 125 | if [ $1 -eq 0 ]; then |
---|
| 126 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 127 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 128 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 129 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 130 | fi |
---|
| 131 | |
---|
| 132 | %posttrans |
---|
| 133 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | %files -f %{name}.lang |
---|
| 137 | %defattr(-,root,root,-) |
---|
| 138 | %doc COPYING ChangeLog NEWS README |
---|
| 139 | %{_bindir}/%{name} |
---|
| 140 | %{_bindir}/atril-previewer |
---|
| 141 | %{_bindir}/atril-thumbnailer |
---|
| 142 | %{_libdir}/libatrildocument.so.* |
---|
| 143 | %{_libdir}/libatrilview.so.* |
---|
| 144 | %{_libdir}/%{name} |
---|
| 145 | %{_libexecdir}/mate/atril-convert-metadata |
---|
| 146 | %{_libexecdir}/mate/atrild |
---|
[9552] | 147 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
[8359] | 148 | %{_datadir}/applications/%{name}.desktop |
---|
[9552] | 149 | %{_datadir}/caja/extensions/libatril-properties-page.caja-extension |
---|
[8359] | 150 | %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service |
---|
| 151 | %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml |
---|
| 152 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 153 | %{_datadir}/help/* |
---|
| 154 | %{_datadir}/%{name} |
---|
| 155 | %{_datadir}/thumbnailers/%{name}.thumbnailer |
---|
| 156 | %{_mandir}/man1/%{name}.1.gz |
---|
| 157 | %{_mandir}/man1/atril-previewer.1.gz |
---|
| 158 | %{_mandir}/man1/atril-thumbnailer.1.gz |
---|
| 159 | |
---|
| 160 | %files devel |
---|
| 161 | %defattr(-,root,root,-) |
---|
| 162 | %{_includedir}/%{name} |
---|
| 163 | %{_libdir}/libatrildocument.so |
---|
| 164 | %{_libdir}/libatrilview.so |
---|
| 165 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
| 166 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
| 167 | |
---|
| 168 | %files docs |
---|
| 169 | %defattr(-,root,root,-) |
---|
| 170 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 171 | %{_datadir}/gtk-doc/html/libatrildocument-1.5.0 |
---|
| 172 | %{_datadir}/gtk-doc/html/libatrilview-1.5.0 |
---|
| 173 | |
---|
[9667] | 174 | %files caja |
---|
| 175 | %defattr(-,root,root,-) |
---|
| 176 | %{_libdir}/caja/extensions-2.0/libatril-properties-page.so |
---|
[8359] | 177 | |
---|
[9667] | 178 | |
---|
[8359] | 179 | %changelog |
---|
[10255] | 180 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[9876] | 183 | * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[9842] | 186 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[9797] | 189 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[9726] | 192 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
[9705] | 195 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-2 |
---|
| 196 | - fix typo in ja.po |
---|
| 197 | |
---|
[9667] | 198 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 199 | - new upstream release |
---|
| 200 | - create %%{name}-caja subpackage |
---|
| 201 | |
---|
[9552] | 202 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 203 | - new upstream release |
---|
| 204 | - add BuildRequires: mate-desktop-devel, WebKit-gtk-devel |
---|
| 205 | |
---|
[9120] | 206 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[8771] | 209 | * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-4 |
---|
| 210 | - rebuild with poppler-0.26.2 |
---|
| 211 | |
---|
[8758] | 212 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3 |
---|
| 213 | - rebuild with libarchive-3.1.2 |
---|
| 214 | |
---|
[8407] | 215 | * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 216 | - rebuild with poppler-0.24.5 |
---|
| 217 | |
---|
[8359] | 218 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 219 | - new upstream release |
---|
| 220 | - rename package |
---|
| 221 | - add BuildRequires: libsecret-devel, itstool |
---|
| 222 | |
---|
| 223 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 224 | - rebuild with VineSeed environment |
---|
| 225 | |
---|
| 226 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 227 | - new upstream release |
---|
| 228 | |
---|
| 229 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 230 | - new upstream release |
---|
| 231 | - remove BuildRequires: mate-conf-devel |
---|
| 232 | - add BuildRequires: libgxps-devel |
---|
| 233 | |
---|
| 234 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 235 | - new upstream release |
---|
| 236 | |
---|
| 237 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 238 | - new upstream release |
---|
| 239 | |
---|
| 240 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 241 | - change category |
---|
| 242 | |
---|
| 243 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 244 | - initial build for Vine Linux |
---|
| 245 | |
---|