]> git.pld-linux.org Git - packages/doodle.git/blame - doodle.spec
- updated gettext BR
[packages/doodle.git] / doodle.spec
CommitLineData
c095c4ae
PG
1# TODO:
2# - move doodled to separate package (maybe some initscript?)
910f133f 3#
e4e16974 4# Conditional build:
5%bcond_without static_libs # don't build static library
e5d20fa9 6#
e4e16974 7Summary: A tool to search the meta-data in your files via a database
1240f608 8Summary(pl.UTF-8): Narzędzie do szybkiego przeszukiwania dokumentów w specjalnej bazie danych
e4e16974 9Name: doodle
351e12b2 10Version: 0.6.5
11Release: 1
e4e16974 12License: GPL
13Group: Applications
14Source0: http://gnunet.org/doodle/download/%{name}-%{version}.tar.gz
351e12b2 15# Source0-md5: 2ff179e8ec2af74937681ece8cc43b68
e4e16974 16URL: http://gnunet.org/doodle/
17BuildRequires: autoconf >= 2.57
18BuildRequires: automake
c095c4ae 19BuildRequires: bzip2-devel
910f133f 20BuildRequires: fam-devel
33d01778 21BuildRequires: gettext-tools >= 0.14.5
e4e16974 22BuildRequires: libextractor-devel
910f133f 23BuildRequires: libtool
24Requires: %{name}-libs = %{version}-%{release}
e4e16974 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Doodle is a tool to quickly search the documents on a computer. Doodle
29builds an index using meta-data contained in the documents and allows
30fast searches on the resulting database.
31
a12ad283
JR
32%description -l pl.UTF-8
33Doodle to narzędzie do szybkiego wyszukiwania dokumentów w komputerze.
34W tym celu buduje indeks, korzystając z metadanych zawartych w
35dokumentach, po czym umożliwia szybkie przeszukiwanie tak powstałej
e5d20fa9 36bazy danych.
e4e16974 37
38%package devel
39Summary: doodle - header files
1240f608 40Summary(pl.UTF-8): doodle - pliki nagłówkowe
e4e16974 41Group: Development/Libraries
42Requires: %{name}-libs = %{version}-%{release}
43
44%description devel
45This is the package containing the header files for doodle.
46
a12ad283
JR
47%description devel -l pl.UTF-8
48Ten pakiet zawiera pliki nagłówkowe doodle'a.
e4e16974 49
50%package libs
51Summary: Doodle library
1240f608 52Summary(pl.UTF-8): Biblioteka doodle'a
e5d20fa9 53Group: Libraries
e4e16974 54
55%description libs
56A doodle library.
57
a12ad283 58%description libs -l pl.UTF-8
e4e16974 59Biblioteka doodle'a.
60
61%package static
62Summary: Doodle - static library
1240f608 63Summary(pl.UTF-8): Biblioteka statyczna doodle'a
e4e16974 64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66
67%description static
68Static doodle library.
69
a12ad283 70%description static -l pl.UTF-8
e4e16974 71Biblioteka 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
89rm -rf $RPM_BUILD_ROOT
90
91%{__make} install \
92 DESTDIR=$RPM_BUILD_ROOT
93
94%find_lang %{name}
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
910f133f 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*
e4e16974 107
108%files devel
109%defattr(644,root,root,755)
e5d20fa9 110%attr(755,root,root) %{_libdir}/lib*.so
e4e16974 111%{_libdir}/lib*.la
112%{_includedir}/*
113%{_mandir}/man3/*
114
115%files libs
116%defattr(644,root,root,755)
910f133f 117%attr(755,root,root) %{_libdir}/lib*.so.*.*
e4e16974 118
119%files static
120%defattr(644,root,root,755)
910f133f 121%{_libdir}/lib*.a
This page took 0.075599 seconds and 4 git commands to generate.