]> git.pld-linux.org Git - packages/tellico.git/blob - tellico.spec
- added BR: libxml2-progs, pcre-devel
[packages/tellico.git] / tellico.spec
1 Summary:        A collection manager
2 Summary(pl):    Zarz±dca zbiorów wideo, audio i ksi±¿ek
3 Name:           bookcase
4 Version:        0.9.3
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://www.periapsis.org/bookcase/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  ccb7035054fbbba18f47c24929881205
10 Patch0:         %{name}-gcc34.patch
11 URL:            http://www.periapsis.org/bookcase/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  kdelibs-devel >= 3.1
15 BuildRequires:  libxslt-devel >= 1.0.19
16 BuildRequires:  libxml2-devel
17 BuildRequires:  libxml2-progs
18 BuildRequires:  qt-devel > 3.1
19 BuildRequires:  pcre-devel
20 BuildRequires:  rpmbuild(macros) >= 1.129
21 BuildRequires:  unsermake >= 040805-1
22 Requires:       kdebase-core >= 3.1
23 Requires:       libxslt >= 1.0.19
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Bookcase is a personal catalog application for your book, video and
28 audio collection.
29
30 %description -l pl
31 Bookcase to osobista aplikacja katalogowa przeznaczona do
32 ksiêgozbiorów, archiwów wideo i audio.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 cp -f /usr/share/automake/config.sub admin
40 export UNSERMAKE=/usr/share/unsermake/unsermake
41 %{__make} -f admin/Makefile.common cvs
42
43 %configure \
44         --enable-final \
45         --with-qt-libraries=%{_libdir}
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT *.lang
51 install -d $RPM_BUILD_ROOT%{_desktopdir}
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT \
55         kde_htmldir=%{_kdedocdir} \
56         kde_libs_htmldir=%{_kdedocdir}
57
58 %find_lang %{name}  --with-kde
59 mv -f $RPM_BUILD_ROOT{%{_datadir}/applnk/*/*.desktop,%{_desktopdir}}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f bookcase.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog README TODO
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/mimelnk/application/x-bookcase.desktop
69 %{_iconsdir}/*/*/*/bookcase.png
70 %{_datadir}/apps/%{name}
71 %{_desktopdir}/bookcase.desktop
This page took 0.071835 seconds and 4 git commands to generate.