source: trunk/third/medusa/medusa.spec.in @ 15512

Revision 15512, 2.2 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15511, which included commits to RCS files with non-trunk default branches.
Line 
1#
2# Note that this is NOT a relocatable package
3# $Id: medusa.spec.in,v 1.1.1.1 2001-01-16 15:30:50 ghudson Exp $
4#
5%define name     @PACKAGE@
6%define ver      @VERSION@
7%define RELEASE  1       
8%define rel      %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
9%define prefix   @prefix@
10%define sysconfdir /etc
11
12Summary: Medusa, the search and indexing package for use with Eazel's Nautilus.
13Name: %name
14Version: %ver
15Release: %rel
16Copyright: LGPL
17Vendor: Eazel Inc.
18Distribution:   Eazel PR2
19Group: System Environment/Base
20Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/medusa/medusa-%{ver}.tar.gz
21BuildRoot: /var/tmp/medusa
22URL: http://www.gnome.org
23Prereq: /sbin/install-info
24Prefix: %{prefix}
25Docdir: %{prefix}/doc
26Requires: glib >= 1.2.0
27Requires: gnome-vfs >= 0.1
28
29%description
30Medusa, the GNOME search/indexing package.
31
32%package devel
33Summary:        Libraries and include files for developing nautilus components
34Group:          Development/Libraries
35Requires:       %name = %{PACKAGE_VERSION}
36Obsoletes:      %{name}-devel
37
38%description devel
39This package provides the necessary development libraries and include
40files to allow you to develop medusa components.
41
42%changelog
43* Sun Jun 11 2000  Eskil Heyn Olsen <deity@eazel.com>
44- Created the .spec file
45
46%prep
47%setup
48
49%build
50# Needed for snapshot releases.
51if [ ! -f configure ]; then
52        CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --enable-more-warnings --prefix=%prefix --sysconfdir=$RPM_BUILD_ROOT/etc
53else
54        CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-more-warnings --prefix=%prefix --sysconfdir=$RPM_BUILD_ROOT/etc
55fi
56make -k check
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make -k prefix=$RPM_BUILD_ROOT%{prefix} install
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66
67%postun -p /sbin/ldconfig
68
69%files
70%defattr (0755, bin, bin)
71%config %{sysconfdir}/cron.daily/medusa.cron
72
73%defattr(-, bin, bin)
74%config %{sysconfdir}/vfs/modules/*.conf
75%{prefix}/bin/medusa-config
76%{prefix}/bin/medusa-indexd
77%{prefix}/bin/medusa-searchd
78%{prefix}/bin/msearch
79%{prefix}/lib/*.0
80%{prefix}/lib/*.so
81%{prefix}/lib/vfs/modules/*.so
82%{prefix}/share/medusa/file-index-stoplist
83
84%doc AUTHORS COPYING ChangeLog NEWS README
85
86%files devel
87%defattr(-, bin, bin)
88%{prefix}/include/libmedusa/*.h
89%{prefix}/lib/*.la
90%{prefix}/lib/vfs/modules/*.la
Note: See TracBrowser for help on using the repository browser.