[5311] | 1 | Summary: Simply a document viewer for MATE |
---|
| 2 | Name: mate-document-viewer |
---|
[7697] | 3 | Version: 1.6.0 |
---|
[6172] | 4 | Release: 1%{?_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 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %build |
---|
| 61 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 62 | %configure \ |
---|
| 63 | --libexecdir=%{_libexecdir}/mate \ |
---|
[7697] | 64 | --disable-static |
---|
[5311] | 65 | |
---|
| 66 | %{__make} %{?_smp_mflags} |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %install |
---|
| 70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 71 | |
---|
| 72 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 73 | |
---|
| 74 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 75 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 76 | |
---|
| 77 | %find_lang atril |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 82 | |
---|
| 83 | %post |
---|
| 84 | /sbin/ldconfig |
---|
| 85 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 86 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 87 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 88 | |
---|
| 89 | %postun |
---|
| 90 | /sbin/ldconfig |
---|
| 91 | if [ $1 -eq 0 ]; then |
---|
[7697] | 92 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 93 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 94 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 95 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 96 | fi |
---|
| 97 | |
---|
| 98 | %posttrans |
---|
| 99 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %files -f atril.lang |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc COPYING ChangeLog NEWS README |
---|
| 105 | %{_bindir}/atril |
---|
| 106 | %{_bindir}/atril-previewer |
---|
| 107 | %{_bindir}/atril-thumbnailer |
---|
| 108 | %{_libdir}/libatrildocument.so.* |
---|
| 109 | %{_libdir}/libatrilview.so.* |
---|
| 110 | %{_libdir}/atril |
---|
| 111 | %{_libdir}/caja/extensions-2.0/libatril-properties-page.so |
---|
| 112 | %{_libexecdir}/mate/atril-convert-metadata |
---|
| 113 | %{_libexecdir}/mate/atrild |
---|
| 114 | %{_datadir}/MateConf/gsettings/atril.convert |
---|
| 115 | %{_datadir}/applications/atril.desktop |
---|
| 116 | %{_datadir}/atril |
---|
| 117 | %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service |
---|
| 118 | %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml |
---|
| 119 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 120 | %{_datadir}/mate/help/atril |
---|
| 121 | %{_datadir}/omf/atril |
---|
[7697] | 122 | %{_datadir}/thumbnailers/atril.thumbnailer |
---|
| 123 | %{_docdir}/mate/atril |
---|
[5311] | 124 | %{_mandir}/man1/atril.1.gz |
---|
| 125 | |
---|
| 126 | %files devel |
---|
| 127 | %defattr(-,root,root,-) |
---|
| 128 | %{_includedir}/atril |
---|
| 129 | %{_libdir}/libatrildocument.so |
---|
| 130 | %{_libdir}/libatrilview.so |
---|
[7697] | 131 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
| 132 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
[5311] | 133 | |
---|
| 134 | |
---|
| 135 | %changelog |
---|
[7697] | 136 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 137 | - new upstream release |
---|
| 138 | - remove BuildRequires: mate-conf-devel |
---|
| 139 | - add BuildRequires: libgxps-devel |
---|
| 140 | |
---|
[6679] | 141 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[6172] | 144 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[5316] | 147 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 148 | - change category |
---|
| 149 | |
---|
[5311] | 150 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 151 | - initial build for Vine Linux |
---|
| 152 | |
---|