[5311] | 1 | Summary: Simply a document viewer for MATE |
---|
| 2 | Name: mate-document-viewer |
---|
[7821] | 3 | Version: 1.6.1 |
---|
[8068] | 4 | Release: 2%{?_dist_release} |
---|
[7697] | 5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: Applications/Publishing |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 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 |
---|
[7697] | 23 | BuildRequires: libgxps-devel |
---|
[5311] | 24 | BuildRequires: gtk-doc |
---|
| 25 | BuildRequires: autoconf |
---|
| 26 | BuildRequires: automake |
---|
| 27 | |
---|
[7697] | 28 | Requires(posttrans,postun): glib2 |
---|
| 29 | Requires(post,postun): gtk2 |
---|
[5311] | 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 | |
---|
[7821] | 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 | |
---|
[5311] | 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 \ |
---|
[7697] | 75 | --disable-static |
---|
[5311] | 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 |
---|
[7697] | 98 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 99 | |
---|
| 100 | %postun |
---|
| 101 | /sbin/ldconfig |
---|
| 102 | if [ $1 -eq 0 ]; then |
---|
[7697] | 103 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 104 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 105 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 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 |
---|
[7821] | 131 | %{_datadir}/%{name} |
---|
[5311] | 132 | %{_datadir}/omf/atril |
---|
[7697] | 133 | %{_datadir}/thumbnailers/atril.thumbnailer |
---|
[5311] | 134 | %{_mandir}/man1/atril.1.gz |
---|
[7821] | 135 | %{_mandir}/man1/atril-previewer.1.gz |
---|
| 136 | %{_mandir}/man1/atril-thumbnailer.1.gz |
---|
[5311] | 137 | |
---|
| 138 | %files devel |
---|
| 139 | %defattr(-,root,root,-) |
---|
| 140 | %{_includedir}/atril |
---|
| 141 | %{_libdir}/libatrildocument.so |
---|
| 142 | %{_libdir}/libatrilview.so |
---|
[7697] | 143 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
| 144 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
[5311] | 145 | |
---|
[7821] | 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 |
---|
[5311] | 151 | |
---|
[7821] | 152 | |
---|
[5311] | 153 | %changelog |
---|
[8068] | 154 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 155 | - rebuild with VineSeed environment |
---|
| 156 | |
---|
[7821] | 157 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
[7697] | 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 | |
---|
[6679] | 165 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[6172] | 168 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[5316] | 171 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 172 | - change category |
---|
| 173 | |
---|
[5311] | 174 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 175 | - initial build for Vine Linux |
---|
| 176 | |
---|