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