#
# spec file for package tellico (Version 1.3.1)
#
# 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:           tellico
BuildRequires:  kdemultimedia3-CD kdemultimedia3-devel libyaz-devel taglib-devel tcpd-devel
Summary:        A book collection manager
Version:        1.3.1
Release:        1
License:        GPL v2 or later
Group:          Productivity/Other
Source:         %{name}-%{version}.tar.bz2
Provides:       bookcase
Obsoletes:      bookcase
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:         /opt/kde3
Url:            http://www.periapsis.org/tellico/
Patch:          fix-compile.diff
Requires:       %{name}-lang = %{version}

%description
Tellico is an KDE application for keeping track of your collections. It
provides default templates for books, bibliographies, videos, music,
coins, stamps, trading cards, comic books, and wines.



%lang_package
%prep
%setup -q
%patch
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
do_make %{?jobs:-j %jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file %name Office Database
%find_lang %{name}
kde_post_install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,0755)
%doc AUTHORS COPYING ChangeLog
/opt/kde3/bin/tellico
/opt/kde3/share/applications/*
/opt/kde3/share/apps/*
/opt/kde3/share/config/*
/opt/kde3/share/config.kcfg/*
/opt/kde3/share/icons/*
/opt/kde3/share/mimelnk/*

%files lang -f %{name}.lang

%changelog
* Tue Mar 25 2008 pgajdos@suse.cz
- updated to 1.3.1:
  * Added data source for discogs.com, a database for musical
  albums, including vinyl
  * Added data source for Google Scholar
  * Added LCCN search to z39.50 and SRU sources
  * Added DOI search to Pubmed source
  * Updated CrossRef source to use new unixref format for
  more data
  * Improved loading performance to delay loading linked images
  as long as possible
  * Updated Delicious Library importer to look for cover images
  * Updated BoardGameGeek source to grab cover image
  * Fixed bug that prevented bibtex from working for external
  application sources
  * Changed “ISBN not found” dialog to only appear when
  searching for multiple values
  * Fixed bug with SRU format not getting remembered in
  config dialog
  * Fixed bug with entries with multiple titles not getting
  linked correctly in HTML export
  * Fixed bug with some free-form date fields getting formatted
  incorectly into empty strings
  * Fixed bibtex import for keywords field
* Wed Feb 06 2008 pgajdos@suse.cz
- updated to version 1.3:
  * Added board game collection, and data source for BoardGameGeek,
  using patch from Steve Beattie (requires ruby).
  * Added data source for using any GCstar plugin
  * Added importers for Griffith, Referencer and Delicious Library
  * Added importer for PDF files, using the exempi and poppler
  libraries (optional)
  * Added drag & drop for importing PDF, bibtex, and RIS files
  * Added DOI field and searching crossref.org, citebase.org, Bibsonomy,
  and arxiv.org
  * Added command for merging multiple entries, based on a patch
  from Cyril Dangerville
  * Updated CSV importer, IMDb fetcher, and Spanish Ministry of
  Culture script
  * Added option to save image files in a local directory relative
  to data file
  * Added option to save a link to an image file instead of copying it
  * Extended the DCOP interface to allow more scripting, including adding
  and modifying entries
  * Added Ukrainian translation, from Serhij Dubyk
- created -lang package
* Wed Sep 26 2007 stbinner@suse.de
- update to version 1.2.14:
  * Improved entry updating to work with all collection types.
  * Added MARCXML to allowed SRU search formats.
  * Fixed bug with MARC stylesheets to work better with embedded
  XML records.
  * Fixed bug with z39.50 search that hid some results.
  * Updated JavaScript and CSS in HTML export.
  * Updated isbndb.com search, also allows comic book searches.
  * Updated Amazon.com search to allow comic books.
  * Updated GCstar importer for new GCstar document format.
  * Updated allocine.fr script to version 0.4
  * Updated Spanish Ministry of Culture search script
  * Fixed problem with settings not being saved on Fedora.
* Sun Jul 29 2007 stbinner@suse.de
- update to version 1.2.13: bugfixes and
  * Added spell-checking for text fields.
  * Added importer for GCstar data files.
  * Added compatibility with yaz3.
  * Added Copac and National Library of Lithuania to z39.50 server list
* Thu Jul 05 2007 stbinner@suse.de
- update to version 1.2.12:
  * Fixed potential recursion bug for dependent fields.
  * Fixed bug that didn't write image size options when printing.
  * Added Turkish translation, thanks to Ali Isingor and Kunter Kutlu.
  * Added '\%%' to bibtex translation table for comment escaping.
  * Bumped automake requirement to version 1.8 or later for macro to work.
  * Fixed HTML export to not rewrite file location for files
  referenced in the XSL file which don't exist.
  * Fixed Column View report to sort numerically when needed.
  * Fixed Date fields to suppress empty date values.
  * Fixed Date comparisons to work for single digits, patch
  from Jake Maciejewski.
  * Fixed Fields Dialog to show warnings when clicking Ok.
  * Changed Quick Filter to split words on whitespace.
  * Fixed bug with z39.50 search freezing intermittently.
* Fri Jun 08 2007 stbinner@suse.de
- move kde_post_install
* Fri Jun 01 2007 dmueller@suse.de
- fix build for older distributions
* Sat May 12 2007 dmueller@suse.de
- build against yaz 3.0.2
* Wed May 09 2007 stbinner@suse.de
- update to version 1.2.11:
  * Improved save time by caching image info on load.
  * Fixed crashing bug for OpenOffice.org connection.
  * Fixed bug that could lose images when loading from XML.
  * Fixed sorting for Dependent fields to match on subfields.
  * Updated IMDb search.
  * Fixed CDDB lookup for OpenBSD, patch from Marc Espie.
* Tue Apr 10 2007 stbinner@suse.de
- update to version 1.2.10:
  * Fixed crashing bug when undoing collection import.
  * Fixed hanging bug when stopping a z39.50 search.
  * Fixed bug that hid some Amazon search results.
  * Fixed ONIX export to validate.
  * Fixed Alexandria export and cover image import.
  * Updated Amazon search for newer API.
  * Fixed error handling for ISBN-13 searches.
  * Updated ibs.it searching.
  * Fixed searching to properly replace all HTML entities.
  * Added Blu-ray and HD DVD to video media.
  * Improved collection merging.
* Mon Mar 05 2007 stbinner@suse.de
- update to version 1.2.9:
  * Updated IMDb search.
  * Fixed sorting for entries with rating = 10.
  * Fixed bug with formatting dependent fields.
  * Fixed bug with adding spaces following a comma in the editor.
  * Changed MODS import to allow any result with typeOfResult = text.
  * Fixed several bugs with i18n issues.
* Tue Feb 06 2007 stbinner@suse.de
- fix build on < 10.1
* Mon Feb 05 2007 stbinner@suse.de
- update to version 1.2.8:
  * Fixed bug with secondary and tertiary sorting.
  * Fixed bug with some z39.50 search results not showing up.
  * Fixed bug with comparing relative URLs when importing a file catalog.
  * Fixed “ISBN Not Found” dialog to have selectable text.
  * Fixed “busy cursor doesn’t go away” in the download stuff dialog.
  * Fixed the newstuff download to uninstall cleanly.
  * Fixed compilation error in yaz include, patch from Markus Brueffer.
  * Updated CDDB import to grab extd data as comments, and category
  as keyword.
  * Updated audio file importer to take disc number into account for
  mp3, ogg, and flac files.
  * Changed IMDB rating to allow float values.
* Mon Dec 11 2006 stbinner@suse.de
- update to version 1.2.7:
  * Fixed bug that could cause images to be lost when loading from
  data file.
  * Fixed bug with saving URL values without the protocol.
  * Fixed bug with editing ISBN-13 values.
  * Updated sorting to take title articles into account.
  * Updated Amazon.com search to allow ISBN-13 values.
  * Changed file listing import to match on URL only.
  * Improved performance when copying or deleting multiple entries
  at once.
* Mon Dec 04 2006 stbinner@suse.de
- update to version 1.2.6:
  * Fixed intermittent crashing bug when doing updates.
  * Improved update matching for some types of entries.
  * Improved IMDB cast search for TV shows.
- update to version 1.2.5
  * Improved performance for loading large (> 10Mb) images.
  * Fixed another bug with over-writing images on entry update.
  * Fixed crashing bug for some Amazon and Yahoo searches.
  * Updated yahoo audio search webservice url.
  * Updated allocine script.
* Sun Oct 15 2006 stbinner@suse.de
- update to version 1.2.4:
  * improved performance on loading and unloading collection files
  * fixed bug with Internet search dialog showing data sources for
  all types
  * fixed bug with overwriting images when updating entries
  * Updated allocine.fr script
* Thu Oct 05 2006 wstephenson@suse.de
- Fix off by one bug in file listing importer (#207685)
* Tue Sep 26 2006 stbinner@suse.de
- update to version 1.2.3:
  * Fixed the HTML export to properly copy included files and use
  relative links.
  * Added a button to the Internet search to fetch additional
  results for some data sources (Amazon, IMDb, z39.50).
* Fri Sep 08 2006 stbinner@suse.de
- update to version 1.2.2:
  * Fixed a bug that caused the wrong temporary directory to be
  used for images, which could hide or lose them
* Thu Sep 07 2006 stbinner@suse.de
- update to version 1.2.1:
  * Fixed CDDB bug that read everything as Pink Floyd :).
  * Improved image cache performance a bit more, and fixed another
  memory leak.
  * Fixed a crashing bug in the file listing importer.
  * Fixed a rendering bug with the image gradients used in the
  entry templates.
  * Fixed a bug with some fields not showing auto-completion in
  the filter dialog.
  * Fixed CDDB cache importer to use UTF-8, as done in libkcddb.
  * Changed bibtex exporter to add braces or quotations around
  \url{...} values.
* Fri Sep 01 2006 stbinner@suse.de
- update to version 1.2:
  * Added dialog for downloading new entry templates from
  kde-files.org
  * Added dialog for downloading new scripts (requires gpg)
  * Added config options for fonts and colors for entry templates
  * Added preset z39.50 server list
  * Added auto-completion to filter dialog
  * Added scripts for allocine.fr, Spanish Ministry of Culture and
  Dark Horse Comics, from Mathias Monnerville
  * Added ‘next’ and ‘prev’ buttons to entry editor.
  * Added isbndb.com as a data source
  * Added Ant Movie Catalog file importer
  * Added dialog to choose from multiple CDDB search responses
  * Fields can have default values
  * Data sources can be set to overwrite existing data when
  updating entries.
  * Added parser for unmodified CueCat bar code scanner
* Thu Jun 15 2006 dmueller@suse.de
- build parallel
* Thu Jun 01 2006 stbinner@suse.de
- fix build for < 10.0
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Fri May 12 2006 stbinner@suse.de
- Update to version 1.1.6
  * Fixed bug that prevented images from being saved in certain
  situations.
  * Fixed bug that caused a crash when importing some RIS files.
  * Added french documentation, from Regis Boudin.
* Thu Apr 20 2006 stbinner@suse.de
- Update to version 1.1.5
  * Fixed bug with writing too many temporary image files.
  * Fixed bug in multiple ISBN search for z39.50.
  * Fixed "disappearing paragraph" bug in Fancy template.
  * Fixed name ordering for IBS searching.
  * Added "Xbox 360" to Amazon.com game searching.
  * Fixed crashing bug when deleting and re-adding fields by same
  name.
  * Fixed HTML decoding bug in IMDb plot summary.
  * Fixed bug that re-created default fields when adding search
  results.
  * Updated Spanish translation.
  * Changed CD-Text support to Linux-only, since it doesn't
  actually work on other platforms.
* Tue Apr 04 2006 stbinner@suse.de
- Update to version 1.1.4
  * Fixed bug that prevented XSLT files with spaces or other
  non-encoded characters from being opened.
  * Fixed bug with incorrectly setting document as modified when
  loading images.
  * Fixed bug with loading loans for entries with non-consecutive
  ids.
  * Fixed bug that caused crashes when changing grouping options
  for some fields.
  * Fixed bug that prevented files saved with versions < 0.8 from
  being opened.
  * Fixed image fetching for IBS.
  * Fixed compilation for OpenOffice.org SDK 2.0.2.
  * Updated French translation.
* Tue Mar 28 2006 stbinner@suse.de
- Update to version 1.1.3
  * Fixed bug that prevented the comic book template from showing
  up in config options or importers.
  * Fixed z39.50 search to use same character encoding for query
  as for search results.
  * Changed ISO 5426 converter to treat umlaut and diaeresis
  identically.
  * Fixed intermittent crash when exporting HTML and overwriting
  files.
  * Fixed bug with empty groups showing up after deleting entries.
  * Updated ru translation.
* Sun Feb 19 2006 stbinner@suse.de
- Update to version 1.1.1
* Thu Feb 09 2006 stbinner@suse.de
- Update to version 1.1
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 01 2005 stbinner@suse.de
- Update to version 1.0.3
* Wed Oct 19 2005 kukuk@suse.de
- Remove unsermake
- Update to version 1.0.2
* Tue Oct 18 2005 stbinner@suse.de
- remove extra qualification for gcc 4.1 compilation
* Wed Jul 20 2005 kukuk@suse.de
- Update to version 0.13.8
* Wed May 25 2005 adrian@suse.de
- update to version 0.13.6
* Tue Apr 19 2005 adrian@suse.de
- fix build
* Mon Feb 28 2005 adrian@suse.de
- update to version 0.13.4
  * bugfixes and translation updates
* Thu Feb 17 2005 adrian@suse.de
- desktop file got moved to xdg dir
* Mon Jan 03 2005 coolo@suse.de
- fix build
* Tue Dec 21 2004 kukuk@suse.de
- Update to 0.13.1
* Wed Dec 08 2004 ro@suse.de
- hack to build on x86_64
* Mon Dec 06 2004 kukuk@suse.de
- Update to version 0.13
- Add yaz support
* Tue Nov 16 2004 adrian@suse.de
- rename package from bookcase to tellico
- update to version 0.12
- add packages to nfb to support audio CDs
* Mon Sep 06 2004 kukuk@suse.de
- Update to version 0.11
* Sun Jun 13 2004 kukuk@suse.de
- Initial version