File gurlchecker.spec of Package gurlchecker
#
# spec file for package gurlchecker (Version 0.10.5)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: gurlchecker
BuildRequires: docbook-utils docbook-xsl-stylesheets fdupes gnet-devel gnome-common gnome-themes gnutls-devel libcroco-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libtidy-devel libwnck-devel libxslt lzo-devel perl-HTML-Parser perl-XML-DOM perl-XML-Parser perl-XML-SAX update-desktop-files
%define _prefix /usr
%define sysconfdir /etc
License: GPL v2 or later
Group: Productivity/Networking/Web/Utilities
AutoReqProv: on
Requires: gnome-themes
Version: 0.10.5
Release: 1
Summary: Checking Utility for Web Pages
Url: http://gurlchecker.labs.libre-entreprise.org/
Source: gurlchecker-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%description
gurlchecker is a GNOME tool that checks links on a single Web page or a
whole Web site in order to determine bad, malformed, or too slow links.
Authors:
--------
Emmanuel Saracco
%package doc
License: GPL v2 or later
Summary: Checking Utility for Web Pages
Group: Productivity/Networking/Web/Utilities
Requires: gurlchecker = %{version}
%description doc
gurlchecker is a GNOME tool that checks links on a single Web page or a
whole Web site in order to determine bad, malformed, or too slow links.
Authors:
--------
Emmanuel Saracco
%lang_package
%prep
%setup -qn gurlchecker-%{version}
%build
rm -f acconfig.h
%{?suse_update_config:%{suse_update_config -f}}
export CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wno-unused-parameter"
export LIBS=-L/usr/X11R6/lib
./configure \
--prefix=%_prefix \
--sysconfdir=%sysconfdir \
--datadir=%_datadir \
--localstatedir=/var/lib \
--mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%suse_update_desktop_file %name Network WebDevelopment
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING AUTHORS TODO ABOUT-NLS ChangeLog NEWS THANKS
%doc %{_mandir}/man1/*.1*
%attr(755,root,root) %{_prefix}/bin/gurlchecker
%{_datadir}/gurlchecker
%{_datadir}/applications/gurlchecker.desktop
%{_datadir}/pixmaps/gurlchecker.png
%files doc
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/*
%files lang -f %{name}.lang
%changelog