File bibview.spec of Package bibview

# spec file for package bibview
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           bibview
BuildRequires:  xaw3d-devel
BuildRequires:  xorg-x11
BuildRequires:  xorg-x11-devel
Provides:       bibvw15
Version:        2.2
Release:        0
Summary:        X11 Front-End for BibTeX Databases
License:        SUSE-Permissive
Group:          Productivity/Publishing/TeX/Utilities
Source:         bibview-2.2.tar.gz
Patch:          bibview-2.2.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define _x11data    %{_datadir}/X11
%define _appdefdir  %{_x11data}/app-defaults

Using bibview, entries in several BiB databases can be moved,
manipulated, created, and searched.

If you prefer German rather than English menus, copy the file
var/X11R6/lib/app-defaults/BibView.ger to


    xmkmf -a
    make XAWLIB=-lXaw3d %{?_smp_mflags}

    make DESTDIR=%{buildroot} install
    make DESTDIR=%{buildroot}
    mkdir -p %{buildroot}%{_x11data}/de/app-defaults
    install -c -m 0444   %{buildroot}%{_x11data}/de/app-defaults/BibView
    install -c -m 0444 %{buildroot}%{_x11data}/de/app-defaults/BibView-color

%dir %{_x11data}/de/
%dir %{_x11data}/de/app-defaults/
%config %{_appdefdir}/BibView
%config %{_appdefdir}/BibView-color
%config %{_x11data}/de/app-defaults/BibView
%config %{_x11data}/de/app-defaults/BibView-color
%doc %{_mandir}/man1/bibview.1x.gz