2 %bcond_without static_libs # don't build static library
4 Summary: Extension library to Xfce developed by os-cillation
5 Summary(pl): Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation
11 Source0: http://download.berlios.de/xfce-goodies/exo-%{version}.tar.bz2
12 # Source0-md5: ffcd73ec6b34f19c81afdc3f1a97377b
13 URL: http://www.os-cillation.com/
14 BuildRequires: gettext-devel
15 BuildRequires: gtk-doc >= 1.0
16 BuildRequires: gtk+2-devel >= 2:2.4.0
17 BuildRequires: libxfcegui4-devel >= 4.2.0
18 BuildRequires: pkgconfig
20 BuildRequires: python-pygtk-devel >= 2:2.4.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Extension library to Xfce developed by os-cillation.
27 Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation.
30 Summary: Header files for libexo library
31 Summary(pl): Pliki nag³ówkowe biblioteki libexo
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libxfcegui4-devel >= 4.2.0
37 Header files for libexo library.
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki libexo.
43 Summary: Static libexo library
44 Summary(pl): Statyczna biblioteka libexo
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static libexo library.
51 %description static -l pl
52 Statyczna biblioteka libexo.
54 %package -n python-exo
55 Summary: Python binding for libexo library
56 Summary(pl): Wi±zania Pythona do biblioteki libexo
57 Group: Libraries/Python
58 Requires: %{name} = %{version}-%{release}
59 %pyrequires_eq python-libs
61 %description -n python-exo
62 Python binding for libexo library.
64 %description -n python-exo -l pl
65 Wi±zania Pythona do biblioteki libexo.
67 %package -n python-exo-devel
68 Summary: Development files for libexo Python bindings
69 Summary(pl): Pliki programistyczne wi±zañ Pythona do libexo
70 Group: Libraries/Python
71 Requires: python-exo = %{version}-%{release}
73 %description -n python-exo-devel
74 Development files for libexo Python bindings.
76 %description -n python-exo-devel -l pl
77 Pliki programistyczne wi±zañ Pythona do libexo.
80 %setup -q -n exo-%{version}
84 --with-html-dir=%{_gtkdocdir} \
85 %{!?with_static_libs:--disable-static}
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
94 rm -f $RPM_BUILD_ROOT%{py_sitedir}/exo-0.3/*.{la,a}
96 %find_lang %{name}-0.3
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
104 %files -f %{name}-0.3.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog HACKING NEWS README TODO
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_includedir}/exo-0.3
114 %{_pkgconfigdir}/*.pc
117 %if %{with static_libs}
119 %defattr(644,root,root,755)
124 %defattr(644,root,root,755)
125 %dir %{py_sitedir}/exo-0.3
126 %attr(755,root,root) %{py_sitedir}/exo-0.3/_exo.so
127 %dir %{py_sitedir}/exo-0.3/exo
128 %{py_sitedir}/exo-0.3/exo/*.py[co]
129 %{py_sitescriptdir}/*.py[co]
131 %files -n python-exo-devel
132 %defattr(644,root,root,755)
133 %{_datadir}/pygtk/2.0/defs/exo-0.3