]> git.pld-linux.org Git - packages/tellico.git/blame_incremental - tellico.spec
- rel 1 (works for me)
[packages/tellico.git] / tellico.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with webcam # build with webcam barcode recognition
4#
5Summary: A collection manager
6Summary(pl.UTF-8): Zarządca zbiorów wideo, audio i książek
7Name: tellico
8Version: 2.3.2
9Release: 1
10License: GPL v3
11Group: X11/Applications
12Source0: http://tellico-project.org/files/%{name}-%{version}.tar.bz2
13# Source0-md5: 3425c12055ae7ea512cd7242de73575e
14Patch1: %{name}-desktop.patch
15URL: http://tellico-project.org/
16BuildRequires: cmake
17BuildRequires: exempi-devel
18BuildRequires: kde4-kdegraphics-devel
19BuildRequires: kde4-kdemultimedia-devel
20BuildRequires: kde4-kdepimlibs-devel
21BuildRequires: libxml2-devel
22BuildRequires: libxml2-progs
23BuildRequires: libxslt-devel >= 1.0.19
24BuildRequires: poppler-Qt-devel
25BuildRequires: qimageblitz-devel
26BuildRequires: rpmbuild(macros) >= 1.129
27BuildRequires: shared-desktop-ontologies-devel
28BuildRequires: soprano-devel
29BuildRequires: taglib-devel
30BuildRequires: yaz-devel
31Requires: desktop-file-utils
32Requires: libxslt >= 1.0.19
33Obsoletes: bookcase
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37Tellico is a personal catalog application for your book, video and
38audio collection.
39
40%description -l pl.UTF-8
41Tellico to osobista aplikacja katalogowa przeznaczona do
42księ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
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT%{_desktopdir}
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT \
58 kde_htmldir=%{_kdedocdir} \
59 kde_libs_htmldir=%{_kdedocdir}
60
61rm -rf $RPM_BUILD_ROOT/nogo
62
63%find_lang %{name} --with-kde
64
65%clean
66rm -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.034493 seconds and 4 git commands to generate.