File dpic.spec of Package dpic
#
# spec file for package dpic
#
# 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 http://bugs.opensuse.org/
#
Name: dpic
Url: http://www.ece.uwaterloo.ca/~aplevich/dpic/
Summary: Pic language processor
License: BSD-2-Clause
Group: Productivity/Publishing/Other
Version: 2012.05.29
Release: 0
Source0: %name-%{version}.tar.gz
Patch0: makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pic language processor for LaTeX documents or web sites.
%prep
%setup -n %{name} -q
%patch0
%build
make %{?_smp_mflags}
%install
INSTALL_ROOT=%{buildroot} PREFIX=%{_prefix}
%makeinstall
install -Dm 644 doc/dpic.1 %{buildroot}%{_mandir}/man1/dpic.1
%files
%defattr(-,root,root,-)
%_bindir/%{name}
%doc README CHANGES doc/dpicdoc.pdf
%_mandir/man1/dpic.1*
%changelog