e8e6054
Name:           tellico
5ac9110
Version:        2.3.6
3678c75
Release:        1%{?dist}
e8e6054
Summary:        A collection manager
e8e6054
e8e6054
Group:          Applications/Multimedia
3780ab4
License:        GPLv2
75e041a
URL:            http://tellico-project.org/
75e041a
Source0:        http://tellico-project.org/files/tellico-%{version}.tar.bz2
e8e6054
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e8e6054
d641320
BuildRequires:  cmake >= 2.6.2-3
e8e6054
BuildRequires:  zlib-devel
e8e6054
BuildRequires:  libpng-devel
e8e6054
BuildRequires:  libjpeg-devel
e8e6054
BuildRequires:  libxslt-devel
e8e6054
BuildRequires:  libxml2-devel
e8e6054
BuildRequires:  gettext
e8e6054
BuildRequires:  libgcrypt-devel
e8e6054
BuildRequires:  libart_lgpl-devel
e8e6054
BuildRequires:  taglib-devel
e8e6054
BuildRequires:  libyaz-devel
dacabc8
BuildRequires:  exempi-devel
9952fbb
BuildRequires:  poppler-qt-devel
d641320
BuildRequires:  kdelibs4-devel
d641320
BuildRequires:  qimageblitz-devel
d641320
BuildRequires:  poppler-qt4-devel
d641320
BuildRequires:  kdepimlibs-devel
d641320
BuildRequires:  kdemultimedia-devel
8dd7978
BuildRequires:  pkgconfig(libksane)
49bd186
BuildRequires:  libv4l-devel
034fbd3
BuildRequires: tcp_wrappers-devel
034fbd3
e8e6054
Requires:       python
e8e6054
e8e6054
%description
e8e6054
Tellico is a collection manager for KDE. It includes default collections for
e8e6054
books, bibliographies, comic books, videos, music, coins, stamps, trading
e8e6054
cards, and wines, and also allows custom collections. Unlimited user-defined
e8e6054
fields are allowed. Filters are available to limit the visible entries by
e8e6054
definable criteria. Full customization for printing is possible through
e8e6054
editing the default XSLT file. It can import CSV, Bibtex, and Bibtexml and
e8e6054
export CSV, HTML, Bibtex, Bibtexml, and PilotDB. Entries may be imported
e8e6054
directly from Amazon.com.
e8e6054
e8e6054
e8e6054
%prep
75e041a
%setup -q
e8e6054
e8e6054
%build
e8e6054
d641320
mkdir -p %{_target_platform}
d641320
pushd %{_target_platform}
49bd186
%{cmake_kde4} -DENABLE_WEBCAM:BOOL=ON ..
d641320
popd
d641320
d641320
make %{?_smp_mflags}  -C %{_target_platform}
e8e6054
e8e6054
%install
e8e6054
rm -rf $RPM_BUILD_ROOT
661f716
make install/fast DESTDIR=$RPM_BUILD_ROOT  -C %{_target_platform}
661f716
%find_lang %{name} --with-kde
e8e6054
e8e6054
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
e8e6054
e8e6054
desktop-file-install --vendor="" \
d641320
  --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde4 \
d641320
  $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*
e8e6054
e8e6054
%post
e8e6054
touch --no-create %{_datadir}/icons/hicolor || :
e8e6054
e8e6054
%postun
661f716
if [ $1 -eq 0 ] ; then
661f716
  update-desktop-database -q &> /dev/null
661f716
  update-mime-database %{_kde4_datadir}/mime &> /dev/null
661f716
  touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
661f716
  gtk-update-icon-cache -q %{_kde4_iconsdir}/hicolor &> /dev/null || :
e8e6054
fi
e8e6054
661f716
%posttrans
661f716
update-desktop-database -q &> /dev/null
661f716
update-mime-database %{_kde4_datadir}/mime &> /dev/null
661f716
gtk-update-icon-cache -q %{_kde4_iconsdir}/hicolor &> /dev/null || :
661f716
e8e6054
e8e6054
%clean
e8e6054
rm -rf $RPM_BUILD_ROOT
e8e6054
e8e6054
e8e6054
%files -f %{name}.lang
e8e6054
%defattr(-,root,root,-)
d641320
%doc AUTHORS ChangeLog COPYING
661f716
%{_kde4_bindir}/tellico
661f716
%{_kde4_datadir}/applications/kde4/tellico.desktop
661f716
%{_kde4_appsdir}/kconf_update/*
661f716
%{_kde4_appsdir}/tellico/
661f716
%{_kde4_datadir}/config.kcfg/tellico_config.kcfg
661f716
%{_kde4_configdir}/tellicorc
661f716
%{_kde4_configdir}/tellico-script.knsrc
661f716
%{_kde4_configdir}/tellico-template.knsrc
661f716
%{_kde4_iconsdir}/hicolor/*/*/*
661f716
%{_kde4_datadir}/mimelnk/application/x-tellico.desktop
661f716
%{_kde4_datadir}/mime/packages/tellico.xml
e8e6054
e8e6054
e8e6054
%changelog
5ac9110
* Thu Jul 26 2012 José Matos <jamatos@fedoraproject.org> - 2.3.6-1
5ac9110
- New bug fix release
5ac9110
- Remove conditional code for releases older than Fedora 7
5ac9110
400af81
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-3
400af81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
400af81
088704c
* Wed May 16 2012 Marek Kasik <mkasik@redhat.com> - 2.3.5-2
088704c
- Rebuild (poppler-0.20.0)
088704c
3678c75
* Tue Mar  6 2012 José Matos <jamatos@fedoraproject.org> - 2.3.5-1
3678c75
- New bugfix release
3678c75
fbe2297
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-3
fbe2297
- Rebuilt for c++ ABI breakage
fbe2297
6b31189
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-2
6b31189
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6b31189
8dd7978
* Wed Oct 12 2011 José Matos <jamatos@fedoraproject.org> - 2.3.4-1
8dd7978
- New upstream release
8dd7978
186d601
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 2.3.3-2
186d601
- Rebuild (poppler-0.17.3)
186d601
f13acd9
* Mon Sep  5 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.3.3-1
f13acd9
- Update to upstream 2.3.3
f13acd9
- Drop GCC 4.6 and libvl patches, applied upstream
f13acd9
3ae7730
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 2.3.2-3
3ae7730
- Rebuild (poppler-0.17.0)
3ae7730
d29541d
* Fri Jul 01 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.2-2
d29541d
- s/kdegraphics-devel/pkgconfig(libksane)/
d29541d
9176b77
* Fri Feb 11 2011 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.3.2-1
9176b77
- Update to upstream 2.3.2.  Fixes bugs with bibtex, amongst others.
9176b77
- Add patches from upstream SVN to fix build with GCC 4.6.x and use
9176b77
  version 1 of v4l API for barcode support so that it compiles with
9176b77
  newer kernels.
9176b77
8d697fb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
8d697fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d697fb
5382883
* Thu Aug 26 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.3-1
5382883
- Update to tellico 2.3 (#622431)
5382883
ef56dac
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.2-3
ef56dac
- recompiling .py files against Python 2.7 (rhbz#623410)
ef56dac
a7fa065
* Wed Apr  7 2010 José Matos <jamatos@fc.up.pt> - 2.2-2
a7fa065
- Rebuild for new libyaz (F14+).
a7fa065
4f963ed
* Wed Feb 24 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.2-1
aab80a2
- Update to upstream version 2.2
4f963ed
5b99a29
* Sat Nov 21 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.1.1-1
5b99a29
- Update to 2.1.1, fixes data loss issue with filters
5b99a29
49bd186
* Wed Nov 18 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.1-2
a7fa065
- Add BR: libv4l-devel and re-enable webcam support
49bd186
7b7991f
* Sat Nov  7 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.1-1
7b7991f
- Update to latest upstream 2.1
7b7991f
75e041a
* Mon Sep 21 2009 José Matos <jamatos@fc.up.pt> - 2.0-1
75e041a
- stable release
75e041a
661f716
* Sat Sep 19 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.0-0.2.pre2
661f716
- use %%_kde4_* macros
661f716
- optimize scriptlets
661f716
- update URL, Source0
661f716
d641320
* Fri Sep 11 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0-0.1.pre2
d641320
- Update to upstream version 2.0 pre-release 2
d641320
- Drop gcc4 patch, now upstream
d641320
cb1f0d5
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
cb1f0d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cb1f0d5
c18b33a
* Thu Mar  5 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3.5-1
c18b33a
- Update to latest upstream (1.3.5)
c18b33a
- Add a patch from upstream SVN r3410 which fixes build with GCC 4.4
c18b33a
34d8cea
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-4
34d8cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
34d8cea
f0f4518
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.4-3
f0f4518
- Rebuild for Python 2.6
f0f4518
Caolan McNamara 9cf0228
* Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 1.3.4-2
Caolan McNamara 9cf0228
- rebuild for dependencies
Caolan McNamara 9cf0228
60f6c53
* Thu Sep 18 2008 José Matos <jamatos@fc.up.pt> - 1.3.4-1
60f6c53
- update to 1.3.4
60f6c53
6646f4e
* Thu Jul 17 2008 José Matos <jamatos[AT]fc.up.pt> - 1.3.3-1
6646f4e
- update to 1.3.3
6646f4e
b9f1d73
* Sun May 25 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3.2.1-1
b9f1d73
- Updated to latest upstream (1.3.2.1)
b9f1d73
8f62e00
* Thu May 22 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3.1-3
6646f4e
- Only kdepim3-devel if <= F-9, the KDE3 version of kdepim has been been
8f62e00
  removed from F-10/rawhide.
8f62e00
3e5f079
* Tue May 20 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3.1-2
3e5f079
- Rebuild for new deps.
3e5f079
5259b6c
* Wed Mar 19 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3.1-1
5259b6c
- New upstream release (1.3.1)
5259b6c
8d67d10
* Mon Feb  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.3-5
8d67d10
- Unify spec file for F7-F9.
8d67d10
9952fbb
* Sat Feb  2 2008 José Matos <jamatos[AT]fc.up.pt> - 1.3-4
9952fbb
- Fix build dependency on poppler (qt version).
9952fbb
dacabc8
* Fri Feb  1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.3-3
dacabc8
- Add support to parse pdf metadata.
dacabc8
3d05203
* Wed Jan 30 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.3-2
dacabc8
- Enable webcam support.
3d05203
- Install missing MIME file.
3d05203
3180c63
* Wed Jan 30 2008 José Matos <jamatos[AT]fc.up.pt> - 1.3-1
3180c63
- New release.
3180c63
9b3705f
* Wed Dec 12 2007 Alex Lancaster <alexlan[AT]fedoraproject.org> - 1.2.14-6
9b3705f
- Remove BR: kdemultimedia3-devel, no longer available
9b3705f
7e32082
* Wed Dec 12 2007 Alex Lancaster <alexlan[AT]fedoraproject.org> - 1.2.14-5
7e32082
- Rebuild for new kdemultimedia
7e32082
69cc619
* Fri Dec 07 2007 Alex Lancaster <alexlan[AT]fedoraproject.org> - 1.2.14-4
69cc619
- Specify kde{libs,multimedia,pim}3-devel for BR (kdelibs-devel now provides KDE 4)
69cc619
b0adbd9
* Thu Dec  6 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.14-3
b0adbd9
- Rebuild for new libssl (F9+).
b0adbd9
bf23d87
* Thu Sep 27 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.14-2
bf23d87
- Declare new file (due to the fix for Fedora 7).
bf23d87
3293144
* Thu Sep 27 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.14-1
3293144
- New upstream version (fixes problem with settings not being saved on Fedora).
3293144
3780ab4
* Mon Aug 27 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.13-2
3780ab4
- License fix, rebuild for devel (F8).
3780ab4
168398c
* Sat Aug 11 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.13-1
168398c
- New upstream version.
168398c
f489f74
* Wed Jul 25 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.12-1
f489f74
- New upstream version.
f489f74
43ac44e
* Thu Jun  7 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.11-1
43ac44e
- New upstream version.
43ac44e
3cb3ed4
* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.10-1
3cb3ed4
- New upstream version.
3cb3ed4
9c03fde
* Thu Mar  8 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.9-1
9c03fde
- Update to 1.2.9.
9c03fde
ebf9df5
* Tue Feb  6 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.8-1
ebf9df5
- New upstream version.
ebf9df5
034fbd3
* Mon Feb  5 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.7-3
034fbd3
- Condicionalize the BR for tcp_wrappers, it has a proper devel file
034fbd3
  for Fedora >= 7.
034fbd3
10ee097
* Tue Jan 30 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.7-2
10ee097
- BR tcp_wrappers.
10ee097
ef9d2e5
* Tue Jan 30 2007 José Matos <jamatos[AT]fc.up.pt> - 1.2.7-1
ef9d2e5
- New upstream version.
ef9d2e5
58ec054
* Mon Dec  4 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.6-1
58ec054
- New upstream version.
58ec054
6521a3f
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.2.2-2
6521a3f
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
6521a3f
e8e6054
* Tue Sep 19 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.2-1
e8e6054
- Revert desktop file to original one, and drop vendor.
e8e6054
- New upstream release.
e8e6054
- Pass --disable-rpath to configure.
e8e6054
e8e6054
* Sun Sep  3 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2-2
e8e6054
- --vendor=fedora
e8e6054
- Use correct capitalization for Summary
e8e6054
- Remove useless entries in docs.
e8e6054
e8e6054
* Fri Sep  1 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2-1
e8e6054
- Submitted to Fedora Extras (loosely based on Dag and Dries version)
e8e6054