]> git.pld-linux.org Git - packages/tellico.git/blob - tellico.spec
04574292de35bd484b7b828eff2aac46b685d899
[packages/tellico.git] / tellico.spec
1 #
2 # Conditional build:
3 %bcond_with     webcam  # build with webcam barcode recognition
4 #
5 Summary:        A collection manager
6 Summary(pl.UTF-8):      Zarządca zbiorów wideo, audio i książek
7 Name:           tellico
8 Version:        2.3.8
9 Release:        1
10 License:        GPL v3
11 Group:          X11/Applications
12 Source0:        http://tellico-project.org/files/%{name}-%{version}.tar.bz2
13 # Source0-md5:  3f85002f6f369bdcf72ac7499d39297a
14 Patch1:         %{name}-desktop.patch
15 Patch2:         libkcddb.patch
16 URL:            http://tellico-project.org/
17 BuildRequires:  cmake
18 BuildRequires:  exempi-devel
19 BuildRequires:  kde4-kdepimlibs-devel
20 BuildRequires:  kde4-libksane-devel
21 BuildRequires:  kde4-libkcddb-devel
22 BuildRequires:  libxml2-devel
23 BuildRequires:  libxml2-progs
24 BuildRequires:  libxslt-devel >= 1.0.19
25 BuildRequires:  poppler-Qt-devel
26 BuildRequires:  qimageblitz-devel
27 BuildRequires:  qjson-devel
28 BuildRequires:  rpmbuild(macros) >= 1.129
29 BuildRequires:  shared-desktop-ontologies-devel
30 BuildRequires:  soprano-devel
31 BuildRequires:  taglib-devel
32 BuildRequires:  yaz-devel
33 Requires:       desktop-file-utils
34 Requires:       libxslt >= 1.0.19
35 Obsoletes:      bookcase
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Tellico is a personal catalog application for your book, video and
40 audio collection.
41
42 %description -l pl.UTF-8
43 Tellico to osobista aplikacja katalogowa przeznaczona do
44 księgozbiorów, archiwów wideo i audio.
45
46 %prep
47 %setup -q
48 %patch1 -p1
49 %patch2 -p1
50
51 %build
52 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
53 exit
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_desktopdir}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         kde_htmldir=%{_kdedocdir} \
63         kde_libs_htmldir=%{_kdedocdir}
64
65 rm -rf $RPM_BUILD_ROOT/nogo
66
67 %find_lang %{name} --with-kde
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %update_desktop_database_post
74 %update_mime_database
75
76 %postun
77 %update_desktop_database_postun
78 %update_mime_database
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog README
83 %attr(755,root,root) %{_bindir}/*
84 %{_datadir}/apps/kconf_update/%{name}-rename.upd
85 %{_datadir}/apps/kconf_update/tellico.upd
86 %{_datadir}/apps/kconf_update/tellico-1-3-update.pl
87 %{_datadir}/apps/%{name}
88 %{_datadir}/config/tellicorc
89 %{_datadir}/config/tellico-script.knsrc
90 %{_datadir}/config/tellico-template.knsrc
91 %{_datadir}/config.kcfg/tellico_config.kcfg
92 %{_datadir}/mime/packages/*.xml
93 %{_desktopdir}/kde4/%{name}.desktop
94 %{_iconsdir}/*/*/*/*.png
This page took 0.062472 seconds and 2 git commands to generate.