diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2010-03-30 10:37:10 +0000 |
---|---|---|
committer | <> | 2012-11-09 11:51:07 +0000 |
commit | 90b031ba3fa3309985c562775ce8a44f5cb7655c (patch) | |
tree | 4b2bdbf3dabd0e042ad33fb28640ded1879c49f0 /libIDL.spec.in | |
download | libIDL-90b031ba3fa3309985c562775ce8a44f5cb7655c.tar.gz |
Imported from /home/lorry/working-area/delta_libIDL/libIDL-0.8.14.tar.gz.HEADlibIDL-0.8.14master
Diffstat (limited to 'libIDL.spec.in')
-rw-r--r-- | libIDL.spec.in | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/libIDL.spec.in b/libIDL.spec.in new file mode 100644 index 0000000..5b40410 --- /dev/null +++ b/libIDL.spec.in @@ -0,0 +1,83 @@ +%define version @LIBIDL_VERSION@ +%define release SNAP + +Summary: IDL parsing library +Name: libIDL +Version: %{version} +Release: %{release} +Source: %{name}-%PACKAGE_VERSION.tar.gz +Vendor: Andrew T. Veliath <andrewtv@usa.net> +License: LGPL +Group: Libraries +Prereq: /sbin/install-info +Prefix: /usr +Docdir: %prefix/doc +BuildRoot: /var/tmp/%{name}-%{version}-root + +%changelog +* Fri Oct 12 2001 Ross Golder <ross@golder.org> +- Updated filenames and paths for libIDL2 +* Mon Sep 24 2001 Mark McLoughlin <mark@skynet.ie> +- use LIBIDL_VERSION instead of LIBIDL_LIBRARY_VERSION +* Fri Nov 28 1998 Andrew T. Veliath <andrewtv@usa.net> +- Initial version + +%description +libIDL is a small library for creating parse trees of CORBA v2.2 +compliant Interface Definition Language (IDL) files, which is a +specification for defining interfaces which can be used between +different CORBA implementations. + +%package devel +Summary: Header files and libraries needed for libIDL development +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This package includes the header files and libraries needed for +developing programs using libIDL. + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr +make + +%install +rm -rf $RPM_BUILD_ROOT +make install prefix=$RPM_BUILD_ROOT/%prefix +gzip -9 $RPM_BUILD_ROOT/%prefix/info/*.info + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +/sbin/install-info %prefix/info/libIDL2.info.gz %prefix/info/dir + +%preun devel +if [ $1 = 0 ]; then + /sbin/install-info --delete %prefix/info/libIDL2.info.gz %prefix/info/dir +fi + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING ChangeLog AUTHORS +%doc README* NEWS BUGS tstidl.c +%prefix/lib/lib*.so.*.* +%{_libdir}/libIDL-2.la +%{_libdir}/libIDL-2.so.0 + +%files devel +%defattr(-,root,root) +%prefix/bin/libIDL-config-2 +#%prefix/lib/*.sh +%prefix/lib/pkgconfig/*.pc +%prefix/lib/lib*.a +%prefix/lib/lib*.so +%prefix/info/libIDL2.info.gz +%prefix/include/libIDL-2.0/libIDL/*.h +#%prefix/share/aclocal/* |