source: trunk/third/ORBit/libIDL/libIDL.spec.in @ 15271

Revision 15271, 1.7 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15270, which included commits to RCS files with non-trunk default branches.
Line 
1%define version @LIBIDL_LIBRARY_VERSION@
2%define release SNAP
3
4Summary:   IDL parsing library
5Name:      libIDL
6Version:   %{version}
7Release:   %{release}
8Source:    libIDL-%PACKAGE_VERSION.tar.gz
9Vendor:    Andrew T. Veliath <andrewtv@usa.net>
10Copyright: LGPL
11Group:     Libraries
12Prereq:    /sbin/install-info
13Prefix:    /usr
14Docdir:    %prefix/doc
15BuildRoot: /var/tmp/libIDL-%{version}-root
16
17%changelog
18* Fri Nov 28 1998 Andrew T. Veliath <andrewtv@usa.net>
19- Initial version
20
21%description
22libIDL is a small library for creating parse trees of CORBA v2.2
23compliant Interface Definition Language (IDL) files, which is a
24specification for defining interfaces which can be used between
25different CORBA implementations.
26
27%package devel
28Summary:  Header files and libraries needed for libIDL development
29Group:    Development/Libraries
30Requires: libIDL = %{version}
31
32%description devel
33This package includes the header files and libraries needed for
34developing programs using libIDL.
35
36%prep
37%setup
38
39%build
40CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
41make
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make install prefix=$RPM_BUILD_ROOT/%prefix
46gzip -9 $RPM_BUILD_ROOT/%prefix/info/*.info
47
48%post   -p /sbin/ldconfig
49%postun -p /sbin/ldconfig
50
51%post devel
52/sbin/install-info %prefix/info/libIDL.info.gz %prefix/info/dir
53
54%preun devel
55if [ $1 = 0 ]; then
56        /sbin/install-info --delete %prefix/info/libIDL.info.gz %prefix/info/dir
57fi
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(-,root,root)
64%doc COPYING ChangeLog AUTHORS
65%doc README* NEWS BUGS tstidl.c
66%prefix/lib/lib*.so.*.*
67
68%files devel
69%defattr(-,root,root)
70%prefix/bin/*
71%prefix/lib/*.sh
72%prefix/lib/lib*.a
73%prefix/lib/lib*.so
74%prefix/info/libIDL.info.gz
75%prefix/include/*
76%prefix/share/aclocal/*
Note: See TracBrowser for help on using the repository browser.