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