]> git.pld-linux.org Git - packages/doodle.git/blob - doodle.spec
- updated gettext BR
[packages/doodle.git] / doodle.spec
1 # TODO:
2 # - move doodled to separate package (maybe some initscript?)
3 #
4 # Conditional build:
5 %bcond_without  static_libs     # don't build static library
6 #
7 Summary:        A tool to search the meta-data in your files via a database
8 Summary(pl.UTF-8):      Narzędzie do szybkiego przeszukiwania dokumentów w specjalnej bazie danych
9 Name:           doodle
10 Version:        0.6.5
11 Release:        1
12 License:        GPL
13 Group:          Applications
14 Source0:        http://gnunet.org/doodle/download/%{name}-%{version}.tar.gz
15 # Source0-md5:  2ff179e8ec2af74937681ece8cc43b68
16 URL:            http://gnunet.org/doodle/
17 BuildRequires:  autoconf >= 2.57
18 BuildRequires:  automake
19 BuildRequires:  bzip2-devel
20 BuildRequires:  fam-devel
21 BuildRequires:  gettext-tools >= 0.14.5
22 BuildRequires:  libextractor-devel
23 BuildRequires:  libtool
24 Requires:       %{name}-libs = %{version}-%{release}
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Doodle is a tool to quickly search the documents on a computer. Doodle
29 builds an index using meta-data contained in the documents and allows
30 fast searches on the resulting database.
31
32 %description -l pl.UTF-8
33 Doodle to narzędzie do szybkiego wyszukiwania dokumentów w komputerze.
34 W tym celu buduje indeks, korzystając z metadanych zawartych w
35 dokumentach, po czym umożliwia szybkie przeszukiwanie tak powstałej
36 bazy danych.
37
38 %package devel
39 Summary:        doodle - header files
40 Summary(pl.UTF-8):      doodle - pliki nagłówkowe
41 Group:          Development/Libraries
42 Requires:       %{name}-libs = %{version}-%{release}
43
44 %description devel
45 This is the package containing the header files for doodle.
46
47 %description devel -l pl.UTF-8
48 Ten pakiet zawiera pliki nagłówkowe doodle'a.
49
50 %package libs
51 Summary:        Doodle library
52 Summary(pl.UTF-8):      Biblioteka doodle'a
53 Group:          Libraries
54
55 %description libs
56 A doodle library.
57
58 %description libs -l pl.UTF-8
59 Biblioteka doodle'a.
60
61 %package static
62 Summary:        Doodle - static library
63 Summary(pl.UTF-8):      Biblioteka statyczna doodle'a
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66
67 %description static
68 Static doodle library.
69
70 %description static -l pl.UTF-8
71 Biblioteka statyczna doodle'a.
72
73 %prep
74 %setup -q
75
76 %build
77 %{__gettextize}
78 %{__libtoolize} --ltdl
79 %{__aclocal} -I m4
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure \
84         %{?with_static_libs:--enable-static}
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %find_lang %{name}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   libs -p /sbin/ldconfig
100 %postun libs -p /sbin/ldconfig
101
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README
105 %attr(755,root,root) %{_bindir}/doodle*
106 %{_mandir}/man1/doodle*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
111 %{_libdir}/lib*.la
112 %{_includedir}/*
113 %{_mandir}/man3/*
114
115 %files libs
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
This page took 0.118725 seconds and 3 git commands to generate.