File gurlchecker.spec of Package gurlchecker

#
# spec file for package gurlchecker (Version 0.10.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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.2
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

%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 lang -f %{name}.lang

%changelog
* Wed Apr 09 2008 drahn@suse.de
- update to stable version 0.10.2
- cleanup BuildRequires
- package source as bzip2
- upstream changes / fixes:
  * fixed a problem with libtidy
  * fixed a protocol comparison bug (obsoletes bnc-231182.patch)
  * documentation cleanup
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Tue May 01 2007 drahn@suse.de
- update to 0.10.1
- HTML validation (with libtidy)
- CSS validation (with libcroco)
- fix string comparison (#231182)
* Mon Jan 08 2007 ro@suse.de
- GNOME moved to /usr
* Tue Aug 22 2006 drahn@suse.de
- update to new release 0.10
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jul 26 2005 drahn@suse.de
- Update to stable release 0.8.2
- Correct built of man page
* Wed Mar 23 2005 sbrabec@suse.cz
- Moved desktop file (#73653).
- Require gnome-themes, when desktop icon resides.
* Mon Nov 22 2004 ro@suse.de
- remove extra aclocal include dir
* Fri Sep 24 2004 mskibbe@suse.de
- change desktopfile
* Tue Sep 21 2004 mskibbe@suse.de
- change specfile (suse_update_desktop_file)
* Fri Aug 06 2004 pth@suse.de
- Update to 0.7.15
- Fix configure.in.
- USE AM_PATH_LIBGNUTLS to check and configure for the use of libgnutls
- Regenerate configuration.
- Clean up the code.
* Mon May 24 2004 drahn@suse.de
- update to 0.7.12
- add desktop-file
- use %%find_lang
* Tue Apr 27 2004 sf@suse.de
- fix for 64bit
* Fri Mar 05 2004 stepan@suse.de
- update to 0.7.9
* Wed Feb 25 2004 stepan@suse.de
- update to 0.7.8
* Mon Jan 12 2004 stepan@suse.de
- update to 0.7.6
* Thu Oct 16 2003 stepan@suse.de
- update to 0.7.3:
  A bug that resuled in too many timeouts may have been fixed. A
  DOM parser is now used to parse XBEL instead of a SAX parser, and
  an encoding problem was fixed. A problem with timeouts on non-
  existent servers was fixed. An informational popup on was added
  after cancelling or finishing a check. The ability to delete
  some links in the check results and to save changes in the
  bookmarks file was added.
* Mon Oct 13 2003 stepan@suse.de
- update to 0.7.2
* Thu Oct 02 2003 stepan@suse.de
- update to version 0.7.1
* Sat Aug 16 2003 stepan@suse.de
- initial version 0.6.0-pre6
openSUSE Build Service is sponsored by