3 %bcond_without static_libs # don't build static library
5 Summary: Library for parsing IDL (Interface Definition Language)
6 Summary(pl.UTF-8): Biblioteka do parsowania IDL (języka definicji interfejsu)
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/%{name}-%{version}.tar.bz2
13 # Source0-md5: bb8e10a218fac793a52d404d14adedcb
14 Patch0: %{name}-info.patch
15 URL: https://projects-old.gnome.org/ORBit2/
16 BuildRequires: autoconf
17 BuildRequires: automake >= 1:1.9
20 BuildRequires: glib2-devel >= 1:2.14.1
21 BuildRequires: libtool
22 BuildRequires: pkgconfig >= 1:0.8
23 BuildRequires: texinfo
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 libIDL is a library for parsing IDL (Interface Definition Language).
28 It can be used for both COM-style and CORBA-style IDL.
30 %description -l pl.UTF-8
31 libIDL to biblioteka do parsowania IDL (Interface Definition Language
32 - języka definicji interfejsu). Może być używana z IDL w stylu COM lub
36 Summary: Header files for libIDL
37 Summary(pl.UTF-8): Pliki nagłówkowe libIDL
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: glib2-devel >= 1:2.14.1
43 libIDL is a library for parsing IDL (Interface Definition Language).
44 It can be used for both COM-style and CORBA-style IDL.
46 This package contains the header files and libraries needed to write
47 or compile programs that use libIDL.
49 %description devel -l pl.UTF-8
50 Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilowania
51 programów używających libIDL.
54 Summary: Static libIDL libraries
55 Summary(pl.UTF-8): Statyczne biblioteki libIDL
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static libIDL libraries.
62 %description static -l pl.UTF-8
63 Statyczne biblioteki libIDL.
75 --disable-silent-rules \
76 %{!?with_static_libs:--disable-static}
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
85 # obsoleted by pkg-config
86 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libIDL-2.la
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
94 %post devel -p /sbin/postshell
95 -/usr/sbin/fix-info-dir -c %{_infodir}
97 %postun devel -p /sbin/postshell
98 -/usr/sbin/fix-info-dir -c %{_infodir}
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog README NEWS
103 %attr(755,root,root) %{_libdir}/libIDL-2.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libIDL-2.so.0
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_bindir}/libIDL-config-2
109 %attr(755,root,root) %{_libdir}/libIDL-2.so
110 %{_includedir}/libIDL-2.0
111 %{_pkgconfigdir}/libIDL-2.0.pc
112 %{_infodir}/libIDL2.info*
114 %if %{with static_libs}
116 %defattr(644,root,root,755)
117 %{_libdir}/libIDL-2.a