Renamed spec file.
[idzebra-moved-to-github.git] / idzebra.spec.in
diff --git a/idzebra.spec.in b/idzebra.spec.in
new file mode 100644 (file)
index 0000000..3caaf4b
--- /dev/null
@@ -0,0 +1,43 @@
+Name: idzebra
+Version: @VERSION@
+Release: 1
+Requires: yaz expat bzip2-libs tcl
+Copyright: GPL
+Group: Applications/Databases
+Vendor: Index Data ApS <info@indexdata.dk>
+Source: idzebra-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Packager: Adam Dickmeiss <adam@indexdata.dk>
+URL: http://www.indexdata.dk/zebra/
+BuildRequires: yaz expat-devel bzip2-devel tcl
+Summary: High-performance, structured text indexing and retrival engine.
+
+%description
+Zebra is a high-performance, general-purpose structured text indexing
+and retrieval engine. It reads structured records in a variety of input
+formats (eg. email, XML, MARC) and allows access to them through exact
+boolean search expressions and relevance-ranked free-text queries. 
+
+%prep
+%setup
+
+%build
+
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=/usr --with-yazconfig=/usr/bin
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -fr ${RPM_BUILD_ROOT}
+make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/usr/share/man install
+
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-,root,root)
+%doc README LICENSE.zebra CHANGELOG 
+%config /usr/share/idzebra/tab
+/usr/bin/*
+/usr/share/doc/idzebra
+/usr/share/man/*/*