]> git.pld-linux.org Git - packages/tellico.git/blob - tellico.spec
- release 2
[packages/tellico.git] / tellico.spec
1 #
2 # Conditional build:
3 %bcond_with     webcam  # build with webcam barcode recognition
4 %bcond_with     arts                    # build with aRts support
5
6 Summary:        A collection manager
7 Summary(pl.UTF-8):      Zarządca zbiorów wideo, audio i książek
8 Name:           tellico
9 Version:        1.3.6
10 Release:        2
11 License:        GPL v2
12 Group:          X11/Applications
13 Source0:        http://tellico-project.org/files/%{name}-%{version}.tar.gz
14 # Source0-md5:  7e1af02c1375e4d20e199f6fb06391d0
15 Patch0:         %{name}-u64.patch
16 Patch1:         %{name}-desktop.patch
17 Patch2:         gcc44.patch
18 URL:            http://www.tellico-project.org/
19 BuildRequires:  automake
20 BuildRequires:  exempi-devel
21 BuildRequires:  kdelibs-devel >= 9:3.3.1
22 BuildRequires:  kdemultimedia-devel
23 BuildRequires:  kdepim-devel
24 BuildRequires:  libxml2-devel
25 BuildRequires:  libxml2-progs
26 BuildRequires:  libxslt-devel >= 1.0.19
27 BuildRequires:  poppler-qt-devel
28 BuildRequires:  rpmbuild(macros) >= 1.129
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 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49
50 %build
51 cp -f /usr/share/automake/config.sub admin
52 %configure \
53         %{?with_webcam:--enable-webcam} \
54         --with%{!?with_arts:out}-arts \
55         --with-qt-libraries=%{_libdir}
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_desktopdir}
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         kde_htmldir=%{_kdedocdir} \
66         kde_libs_htmldir=%{_kdedocdir}
67
68 mv $RPM_BUILD_ROOT%{_datadir}/locale/{ee,et}
69
70 %find_lang %{name} --with-kde
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %update_desktop_database_post
77 %update_mime_database
78
79 %postun
80 %update_desktop_database_postun
81 %update_mime_database
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog README TODO
86 %attr(755,root,root) %{_bindir}/*
87 %{_datadir}/mimelnk/application/x-%{name}.desktop
88 %{_datadir}/apps/kconf_update/%{name}-rename.upd
89 %{_datadir}/apps/kconf_update/tellico.upd
90 %{_datadir}/apps/kconf_update/tellico-1-3-update.pl
91 %{_datadir}/apps/%{name}
92 %{_datadir}/config/tellicorc
93 %{_datadir}/config.kcfg/tellico_config.kcfg
94 %{_datadir}/mime/packages/*.xml
95 %{_desktopdir}/kde/%{name}.desktop
96 %{_iconsdir}/*/*/*/*.png
This page took 0.079429 seconds and 3 git commands to generate.