[8359] | 1 | Summary: Simply a document viewer for MATE |
---|
| 2 | Name: atril |
---|
[9120] | 3 | Version: 1.8.1 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[8359] | 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{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: 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 |
---|
| 41 | Packager: Takemikaduchi |
---|
| 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 | |
---|
| 73 | %description docs |
---|
| 74 | This package contains documentation for %{name}. |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %prep |
---|
| 78 | %setup -q |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %build |
---|
| 82 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 83 | %configure \ |
---|
| 84 | --libexecdir=%{_libexecdir}/mate \ |
---|
| 85 | --disable-static |
---|
| 86 | |
---|
| 87 | %{__make} %{?_smp_mflags} |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %install |
---|
| 91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 92 | |
---|
| 93 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 94 | |
---|
| 95 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 96 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 97 | |
---|
| 98 | %find_lang %{name} |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 103 | |
---|
| 104 | %post |
---|
| 105 | /sbin/ldconfig |
---|
| 106 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 107 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 108 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 109 | |
---|
| 110 | %postun |
---|
| 111 | /sbin/ldconfig |
---|
| 112 | if [ $1 -eq 0 ]; then |
---|
| 113 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 114 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 115 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 116 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 117 | fi |
---|
| 118 | |
---|
| 119 | %posttrans |
---|
| 120 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | %files -f %{name}.lang |
---|
| 124 | %defattr(-,root,root,-) |
---|
| 125 | %doc COPYING ChangeLog NEWS README |
---|
| 126 | %{_bindir}/%{name} |
---|
| 127 | %{_bindir}/atril-previewer |
---|
| 128 | %{_bindir}/atril-thumbnailer |
---|
| 129 | %{_libdir}/libatrildocument.so.* |
---|
| 130 | %{_libdir}/libatrilview.so.* |
---|
| 131 | %{_libdir}/%{name} |
---|
| 132 | %{_libdir}/caja/extensions-2.0/libatril-properties-page.so |
---|
| 133 | %{_libexecdir}/mate/atril-convert-metadata |
---|
| 134 | %{_libexecdir}/mate/atrild |
---|
| 135 | %{_datadir}/MateConf/gsettings/%{name}.convert |
---|
| 136 | %{_datadir}/applications/%{name}.desktop |
---|
| 137 | %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service |
---|
| 138 | %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml |
---|
| 139 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 140 | %{_datadir}/help/* |
---|
| 141 | %{_datadir}/%{name} |
---|
| 142 | %{_datadir}/thumbnailers/%{name}.thumbnailer |
---|
| 143 | %{_mandir}/man1/%{name}.1.gz |
---|
| 144 | %{_mandir}/man1/atril-previewer.1.gz |
---|
| 145 | %{_mandir}/man1/atril-thumbnailer.1.gz |
---|
| 146 | |
---|
| 147 | %files devel |
---|
| 148 | %defattr(-,root,root,-) |
---|
| 149 | %{_includedir}/%{name} |
---|
| 150 | %{_libdir}/libatrildocument.so |
---|
| 151 | %{_libdir}/libatrilview.so |
---|
| 152 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
| 153 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
| 154 | |
---|
| 155 | %files docs |
---|
| 156 | %defattr(-,root,root,-) |
---|
| 157 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 158 | %{_datadir}/gtk-doc/html/libatrildocument-1.5.0 |
---|
| 159 | %{_datadir}/gtk-doc/html/libatrilview-1.5.0 |
---|
| 160 | |
---|
| 161 | |
---|
| 162 | %changelog |
---|
[9120] | 163 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 164 | - new upstream release |
---|
| 165 | |
---|
[8771] | 166 | * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-4 |
---|
| 167 | - rebuild with poppler-0.26.2 |
---|
| 168 | |
---|
[8758] | 169 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3 |
---|
| 170 | - rebuild with libarchive-3.1.2 |
---|
| 171 | |
---|
[8407] | 172 | * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 173 | - rebuild with poppler-0.24.5 |
---|
| 174 | |
---|
[8359] | 175 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 176 | - new upstream release |
---|
| 177 | - rename package |
---|
| 178 | - add BuildRequires: libsecret-devel, itstool |
---|
| 179 | |
---|
| 180 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 181 | - rebuild with VineSeed environment |
---|
| 182 | |
---|
| 183 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 187 | - new upstream release |
---|
| 188 | - remove BuildRequires: mate-conf-devel |
---|
| 189 | - add BuildRequires: libgxps-devel |
---|
| 190 | |
---|
| 191 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
| 197 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 198 | - change category |
---|
| 199 | |
---|
| 200 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 201 | - initial build for Vine Linux |
---|
| 202 | |
---|