[mate-document-viewer] initial import

Wolfgang Ulbrich raveit65 at fedoraproject.org
Mon May 13 16:26:15 UTC 2013


commit 565d55f007461125368fc78f9f16f41e251b5d00
Author: raveit <chat-to-me at raveit.de>
Date:   Mon May 13 18:25:50 2013 +0200

    initial import

 .gitignore                |    1 +
 mate-document-viewer.spec |  290 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 292 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0f8510b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mate-document-viewer-1.6.0.tar.xz
diff --git a/mate-document-viewer.spec b/mate-document-viewer.spec
new file mode 100644
index 0000000..fcd7f6b
--- /dev/null
+++ b/mate-document-viewer.spec
@@ -0,0 +1,290 @@
+%global poppler_version 0.14.0
+%global dbus_version 0.70
+%global theme_version 1.1.0
+
+Name:           mate-document-viewer
+Version:        1.6.0
+Release:        4%{?dist}
+Summary:        Document viewer
+License:        GPLv2+ and LGPLv2+ and MIT
+Group:          Applications/Publishing
+URL:            http://mate-desktop.org
+Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
+
+BuildRequires:  gtk2-devel
+BuildRequires:  poppler-glib-devel >= %{poppler_version}
+BuildRequires:  libXt-devel
+BuildRequires:  libmatekeyring-devel
+BuildRequires:  libglade2-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libspectre-devel
+BuildRequires:  mate-doc-utils
+BuildRequires:  desktop-file-utils
+BuildRequires:  mate-icon-theme-devel >= %{theme_version}
+BuildRequires:  t1lib-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  mate-common
+BuildRequires:  cairo-gobject-devel
+
+# for the xps back-end
+BuildRequires:  libgxps-devel
+# for the caja properties page
+BuildRequires:  mate-file-manager-devel
+# for the dvi back-end
+BuildRequires:  kpathsea-devel
+# for the djvu back-end
+BuildRequires:  djvulibre-devel
+
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+Requires:       %{name}-data = %{version}-%{release}
+Requires:       hicolor-icon-theme
+
+%description
+Mate-document-viewer is simple document viewer.
+It can display and print Portable Document Format (PDF),
+PostScript (PS), Encapsulated PostScript (EPS), DVI, DJVU and XPS files.
+When supported by the document format, mate-document-viewer
+allows searching for text, copying text to the clipboard,
+hypertext navigation, table-of-contents bookmarks and editing of forms.
+
+
+%package libs
+Summary: Libraries for the mate-document-viewer
+Group: System Environment/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description libs
+This package contains shared libraries needed for mate-document-viewer.
+
+
+%package data
+Summary: Data files for the mate-document-viewer
+Group: Applications/Publishing
+BuildArch: noarch
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description data
+This package contains shared data needed for mate-document-viewer.
+
+
+%package devel
+Summary: Support for developing back-ends for the mate-document-viewer
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package contains libraries and header files needed for
+mate-document-viewer back-ends development.
+
+
+%package caja
+Summary: Mate-document-viewer extension for caja
+Group: User Interface/Desktops
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: mate-file-manager
+
+%description caja
+This package contains the mate-document-viewer extension for the
+caja file manager.
+It adds an additional tab called "Document" to the file properties dialog.
+
+%prep
+%setup -q
+
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure \
+        --disable-static \
+        --disable-scrollkeeper \
+        --enable-introspection \
+        --enable-comics \
+        --enable-dvi=yes \
+        --enable-djvu=yes \
+        --enable-t1lib=yes \
+        --with-gtk=2.0 \
+        --enable-thumbnailer
+
+# remove unused-direct-shlib-dependency
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+
+make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# move installed doc to versioned directory
+mv $RPM_BUILD_ROOT%{_docdir}/mate \
+   $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
+rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
+
+# don't ship icon caches
+rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
+
+# remove of gsetting,convert file, no need for this in fedora
+# because MATE starts with gsetting in fedora.
+rm -f $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/atril.convert
+
+%find_lang atril
+
+
+%check
+desktop-file-validate ${RPM_BUILD_ROOT}/%{_datadir}/applications/atril.desktop
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ]; then
+  /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+  /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%doc README COPYING NEWS AUTHORS
+%{_bindir}/*
+%{_datadir}/atril/
+%{_datadir}/applications/atril.desktop
+%{_datadir}/icons/hicolor/*/apps/atril.*
+%{_mandir}/man1/atril.1.*
+%{_libexecdir}/atril-convert-metadata
+%{_libexecdir}/atrild
+%{_datadir}/dbus-1/services/org.mate.atril.Daemon.service
+%{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml
+%{_datadir}/omf/atril/
+%{_datadir}/thumbnailers/atril.thumbnailer
+%exclude %{_docdir}/%{name}-%{version}/atril
+
+%files libs
+%{_libdir}/libatrilview.so.*
+%{_libdir}/libatrildocument.so.*
+%dir %{_libdir}/atril/
+%dir %{_libdir}/atril/3/
+%dir %{_libdir}/atril/3/backends/
+%{_libdir}/atril/3/backends/lib*document.so
+%{_libdir}/atril/3/backends/*document.atril-backend
+%{_libdir}/girepository-1.0/AtrilDocument-1.5.0.typelib
+%{_libdir}/girepository-1.0/AtrilView-1.5.0.typelib
+
+%files data -f atril.lang
+%doc %{_docdir}/%{name}-%{version}/atril/atril.html
+%doc %{_docdir}/%{name}-%{version}/atril/atril_start_window.png
+%{_datadir}/mate/help/atril/
+
+%files devel
+%dir %{_includedir}/atril/
+%{_includedir}/atril/1.5.0/
+%{_libdir}/libatrilview.so
+%{_libdir}/libatrildocument.so
+%{_libdir}/pkgconfig/atril-view-1.5.0.pc
+%{_libdir}/pkgconfig/atril-document-1.5.0.pc
+%{_datadir}/gir-1.0/AtrilDocument-1.5.0.gir
+%{_datadir}/gir-1.0/AtrilView-1.5.0.gir
+
+%files caja
+%{_libdir}/caja/extensions-2.0/libatril-properties-page.so
+
+
+%changelog
+* Sat May 11 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.0-4
+- remove gsettings convert file
+- create -data noarch subpackage
+- move docs in -data subpackage
+- move help dir in -data subpackage
+- move locale in -data subpackage
+
+* Fri May 10 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.0-3
+- remove -dvi, -djvu, -xps subpackages and move the libs to -libs subpackage
+- add Requires: %%{name}%%{?_isa} = %%{version}-%%{release} to -libs subpackage
+- remove sed commands for desktop file
+- add hicolor-icon-theme require
+- fix last changelog date
+- rename atril to mate-document-viewer in summarys and descriptions
+- to avoid rpmlint warnings
+- rename evince to mate-document-viewer in description
+- update description
+- fix mixed-use-of-spaces-and-tabs in spec file
+- move additional doc files to valid doc dir
+
+* Thu May 09 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.0-2
+- use libmate-keyring-devel as BR instead of mate-keyring-devel
+- fix spelling-error in %%description of -devel subpackage
+- fix gsettings schema rpm scriptlets
+
+* Wed Apr 03 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.0-1
+- update to 1.6.0
+
+* Thu Mar 21 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.5.0-2
+- initial build for fedora
+
+* Fri Nov 16 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.5.0-1
+- build against official fedora
+- update to 1.5.0
+- remove scrollkeeper BR
+- remove mate-conf schema directory
+- remove upstreamed mate-document-viewer_change_ev_api_version.patch
+- remove epoch
+
+* Mon Nov 05 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1:1.4.0-0102
+- add epoch
+- add desktop-file-validate
+- remove (noreplace) from schema files
+
+* Sat Oct 06 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-0101
+- improve and review spec file
+- own include dir
+- add mate-document-viewer_change_ev_api_version.patch
+- fix license information
+- add ChangeLog
+- fix description
+- fix unused-direct-shlib-dependency
+- fix scriplet section
+
+* Mon Aug 27 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-0100
+- build for f18
+
+* Tue Jul 17 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-2
+- rebuild for f17 and f18
+
+* Tue Jul 17 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-1
+- update to 1.4.0
+
+* Tue Jun 19 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.2.1-3
+- test build
+
+* Tue Jun 19 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.2.1-2
+- Silence rpm scriptlet output in fc17
+
+* Thu Mar 15 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.2.1-1
+- update to 1.2.1
+
+* Mon Mar 12 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.2.0-1
+- update to 1.2.0
+
+* Tue Jan 17 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.1.1-2
+- rebuild for enable builds for .i686
+
+* Tue Jan 17 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.1.1-1
+- updated to 1.1.1 version
+
+* Wed Jan 04 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.1.0-1
+- atril.spec based on evince-2.32.0-4.fc14 spec
+
diff --git a/sources b/sources
index e69de29..57ca3a7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4170bea0986baeb4caf0e953f84a153d  mate-document-viewer-1.6.0.tar.xz


More information about the scm-commits mailing list