1 |
%define iconname %{name}.png |
2 |
|
3 |
Summary: A collection manager |
4 |
Name: tellico |
5 |
Epoch: 3 |
6 |
Version: 3.4.4 |
7 |
Release: %mkrel 1 |
8 |
License: GPLv2+ |
9 |
Group: Databases |
10 |
URL: http://tellico-project.org/ |
11 |
Source: http://www.tellico-project.org/files/%{name}-%{version}.tar.xz |
12 |
BuildRequires: pkgconfig(Qt5Core) |
13 |
BuildRequires: pkgconfig(Qt5DBus) |
14 |
BuildRequires: pkgconfig(Qt5Gui) |
15 |
BuildRequires: pkgconfig(Qt5Network) |
16 |
BuildRequires: pkgconfig(Qt5Test) |
17 |
BuildRequires: pkgconfig(Qt5Widgets) |
18 |
BuildRequires: pkgconfig(poppler-qt5) |
19 |
BuildRequires: kf5-macros |
20 |
BuildRequires: cmake(KF5Archive) |
21 |
BuildRequires: cmake(KF5Codecs) |
22 |
BuildRequires: cmake(KF5Config) |
23 |
BuildRequires: cmake(KF5ConfigWidgets) |
24 |
BuildRequires: cmake(KF5CoreAddons) |
25 |
BuildRequires: cmake(KF5Crash) |
26 |
BuildRequires: cmake(KF5DocTools) |
27 |
BuildRequires: cmake(KF5GuiAddons) |
28 |
BuildRequires: cmake(KF5IconThemes) |
29 |
BuildRequires: cmake(KF5ItemModels) |
30 |
BuildRequires: cmake(KF5I18n) |
31 |
BuildRequires: cmake(KF5JobWidgets) |
32 |
BuildRequires: cmake(KF5KIO) |
33 |
BuildRequires: cmake(KF5Solid) |
34 |
BuildRequires: cmake(KF5Wallet) |
35 |
BuildRequires: cmake(KF5WidgetsAddons) |
36 |
BuildRequires: cmake(KF5WindowSystem) |
37 |
BuildRequires: cmake(KF5XmlGui) |
38 |
|
39 |
BuildRequires: cmake(KF5KHtml) |
40 |
BuildRequires: cmake(KF5FileMetaData) |
41 |
BuildRequires: cmake(KF5NewStuff) |
42 |
BuildRequires: cmake(KF5Sane) |
43 |
BuildRequires: cmake(KF5Cddb) |
44 |
BuildRequires: pkgconfig(libxslt) |
45 |
BuildRequires: pkgconfig(libxml-2.0) |
46 |
BuildRequires: pkgconfig(taglib) |
47 |
BuildRequires: pkgconfig(yaz) |
48 |
BuildRequires: pkgconfig(exempi-2.0) |
49 |
BuildRequires: pkgconfig(libdvbv5) |
50 |
BuildRequires: pkgconfig(libcdio) |
51 |
BuildRequires: gettext-devel |
52 |
BuildRequires: imagemagick |
53 |
BuildRequires: python3 |
54 |
BuildRequires: perl-Text-BibTeX |
55 |
|
56 |
Requires: plasma-workspace |
57 |
|
58 |
%description |
59 |
Tellico is a collection manager for KDE. It includes default collections for |
60 |
books, bibliographies, comic books, videos, music, coins, stamps, trading |
61 |
cards, and wines, and also allows custom collections. Unlimited user-defined |
62 |
fields are allowed. Filters are available to limit the visible entries by |
63 |
definable criteria. Full customization for printing is possible through |
64 |
editing the default XSLT file. It can import CSV, Bibtex, and Bibtexml and |
65 |
export CSV, HTML, Bibtex, Bibtexml, and PilotDB. Entries may be imported |
66 |
directly from different web services such as amazon.com. |
67 |
|
68 |
%files -f %{name}.lang |
69 |
%doc AUTHORS ChangeLog |
70 |
%{_kf5_sysconfdir}/xdg/%{name}* |
71 |
%{_kf5_bindir}/%{name} |
72 |
%{_kf5_applicationsdir}/org.kde.%{name}.desktop |
73 |
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml |
74 |
%{_kf5_datadir}/mime/packages/%{name}.xml |
75 |
%{_kf5_datadir}/%{name}/ |
76 |
%{_kf5_datadir}/kconf_update/%{name}* |
77 |
%{_kf5_datadir}/config.kcfg/%{name}_config.kcfg |
78 |
%{_kf5_datadir}/kxmlgui5/%{name}/ |
79 |
%{_kf5_iconsdir}/hicolor/*/*/*.png |
80 |
%{_datadir}//knsrcfiles/* |
81 |
|
82 |
#-------------------------------------------------------------------- |
83 |
|
84 |
%prep |
85 |
%setup -q |
86 |
%autopatch -p1 |
87 |
|
88 |
%build |
89 |
# does debug |
90 |
perl -pi -e 's/#if 0/#if 1/' src/fetch/amazonfetcher.cpp |
91 |
perl -pi -e 's|setEntriesSelected(entries_);|//setEntriesSelected(entries_);|' src/detailedlistview.cpp |
92 |
%cmake_kf5 |
93 |
%cmake_build |
94 |
|
95 |
%install |
96 |
%cmake_install |
97 |
|
98 |
%find_lang %{name} --with-html |
99 |
|
100 |
# python shebangs |
101 |
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_kf5_datadir}/%{name}/ |