File rarian.spec of Package rarian
#
# spec file for package rarian (Version 0.8.1)
#
# Copyright (c) 2008 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: rarian
BuildRequires: docbook_4
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: libxslt-devel
BuildRequires: perl-XML-Parser
BuildRequires: pkg-config
BuildRequires: sgml-skel
Summary: Rarian is designed to be a replacement for scrollkeeper
Version: 0.8.1
Release: 5
Source0: %{name}-%{version}.tar.bz2
Patch1: rarian-0.5.6-reg-parse-bugs.patch
Patch2: rarian-0.7.1-return.patch
Patch3: rarian-0.5.6-docs-from-desktop-entries-and-bundles.patch
# PATCH-FIX-OPENSUSE rarian-opensuse-manuals.patch vuntz@novell.com -- Find openSUSE manuals
Patch4: rarian-opensuse-manuals.patch
# PATCH-FIX-OPENSUSE rarian-help-bundle.patch vuntz@novell.com -- Grab manual in /usr/share/gnome/help-bundle when it makes sense
Patch5: rarian-help-bundle.patch
# PATCH-FIX-UPSTREAM rarian-no-warning-X-lines.patch bfo18317 vuntz@novell.com -- No warning on X- lines
Patch6: rarian-no-warning-X-lines.patch
# PATCH-FIX-OPENSUSE rarian-no-warning-desktop-entry.patch vuntz@novell.com -- We have a patch to read .desktop file, but we don't want lots of warnings because of this...
Patch7: rarian-no-warning-desktop-entry.patch
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: ftp://ftp.gnome.org/pub/gnome/sources/rarian/
PreReq: /bin/touch sgml-skel /usr/bin/xmlcatalog
%description
Rarian is designed to be a replacement for scrollkeeper. It is
currently undergoing heavy development. As of writing, rarian can be
installed in place of scrollkeeper and everything will work okay (as
far as my testing indicates)
Authors:
--------
Don Scorgie <Don@Scorgie.org>
%package devel
License: GPL v2 only
Requires: %{name} = %{version}
Summary: Development files for rarian
Group: Development/Libraries/C and C++
AutoReqProv: on
%description devel
Rarian is designed to be a replacement for scrollkeeper. It is
currently undergoing heavy development. As of writing, rarian can be
installed in place of scrollkeeper and everything will work okay.
This package contains the files for developing applications using
rarian.
Authors:
--------
Don Scorgie <Don@Scorgie.org>
%define INSTALL install -m755 -s
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%define INSTALL_SCRIPT install -m755
%prep
%setup -q
#%setup -q -a 1
%patch1 -p1
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
%configure --disable-static --with-pic --disable-scrollkeeper-compat
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING AUTHORS README NEWS
%{_bindir}/*
#%{_datadir}/rarian
%{_libdir}/lib*.so.*
%{_prefix}/share/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Oct 31 2008 vuntz@novell.com
- Update rarian-opensuse-manuals.patch: no need to output an error
for many localized files we won't file anyway.
- Add rarian-no-warning-X-lines.patch to make rarian not output
a warning for lines starting with X-.
- Add rarian-no-warning-desktop-entry.patch to make rarian not
output a warning for standard .desktop entry keys (since we make
it parse the .desktop files).
* Thu Sep 18 2008 jpr@novell.com
- Remove parts of rarian-0.5.6-reg-parse-bugs.patch that are being
applied upstream now and were causing a crash
* Thu Sep 11 2008 maw@suse.de
- Update to version 0.8.1:
+ Bugs fixed: bfo#15755, bfo#15654, bfo#15274, bfo#11839,
bfo#14872, and bfo#12515.
* Sat Jul 05 2008 crrodriguez@suse.de
- disable unusable static libraries
* Mon Jun 16 2008 maw@suse.de
- Update to version 0.8.0:
+ Remove extraneous debug output
+ Improve categorization.
* Wed May 07 2008 vuntz@suse.de
- Add rarian-help-bundle.patch to fetch help from
/usr/share/gnome/help-bundle when it's living there.
* Wed May 07 2008 coolo@suse.de
- return in non-void functions
* Thu Apr 24 2008 vuntz@suse.de
- Add rarian-opensuse-manuals.patch to list openSUSE manuals. This
is a temporary fix, until we can get the manuals packages to
install rarian metadata files.
* Wed Apr 23 2008 vuntz@suse.de
- Update rarian-0.5.6-docs-from-desktop-entries-and-bundles.patch
to use help: URI instead of ghelp: URI when creating an entry
from a desktop file. Yelp won't understand those ghelp: URI, so
the change is required.
* Wed Mar 05 2008 maw@suse.de
- Update to version 0.7.1:
+ Add LZMA support
+ Make attributes insensitive to ordering
+ Add new attributes for hidden (NoDisplay) and default section
(DocDefaultSection) to the .document file parsing
+ Increase strictness of parsing in line with the spec
+ omf files now return (approximate) fd.o categories
+ Add new requirement to define I_KNOW_RARIAN_0_8_IS_UNSTABLE
before use
+ rarian.h is now a general inclusion guard and main functions
have moved to rarian-main.h
+ Update example program to use new features
+ Bugs fixed: bfo#13201 and bfo#12279
+ Many other minor errors and warnings fixed too.
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 0.6.0:
* Only export required symbols
* Fix build on OSX and Solaris
* Various crash fixes in .document files
* Make sk-config return decent results when OMF reading is
enabled
* Fix silly spelling errors
* Fix copyright headers
* Fallback languages now work correctly
* Fix potential off-by-one issue in sk-preinstall
* Fri Sep 14 2007 hpj@suse.de
- Add --disable-scrollkeeper-compat flag, so we don't get binaries
that conflict with scrollkeeper's.
* Mon Sep 10 2007 maw@suse.de
- Update to version 0.5.8:
+ Misc. changes
+ Bugs (bugs.freedesktop.org) fixed: #11976, #11957, #11896,
[#11901], and #11799
- Remove abuild.patch, as this release makes it unnecessary
- Remove some comments inadvertently left behind during a prior
change.
* Mon Sep 10 2007 hpj@suse.de
- Amend rarian-0.5.6-eof-crash.patch to prevent a buffer overrun
crash, a file descriptor leak, and a failure the check the
return value from a fopen() call leading to another crash. The
problems appear in the same function as the EOF crash, so I
rolled them into the same patch.
- Rename rarian-0.5.6-eof-crash.patch to
rarian-0.5.6-reg-parse-bugs.patch.
* Wed Sep 05 2007 maw@suse.de
- Respin rarian-0.5.6-docs-from-desktop-entries.patch, teaching
rarian to look inside help-bundle in addition to help
subdirectories; rename it to
rarian-0.5.6-docs-from-desktop-entries-and-bundles.patch
(#307213).
* Sat Sep 01 2007 hpj@suse.de
- Add rarian-0.5.6-eof-crash.patch (bugs.freedesktop.org #12131).
- Add rarian-0.5.6-identifier-basename-crash.patch
(bugs.freedesktop.org #12226).
- Add rarian-0.5.6-docs-from-desktop-entries.patch, which lets us
find documentation specified by applications' .desktop files.
* Sat Aug 04 2007 maw@suse.de
- BuildRequire gcc-c++ and pkg-config
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and add it to %%postun
- Add abuild.patch
- Let rpm figure out Requires.
- Split off a -devel subpackage
- Minor specfile cleanups.
* Fri Aug 03 2007 mauro@suse.de
- New package: version 0.5.6