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