1 %bcond_without static_libs # don't build static library
2 Summary: Extension library to Xfce developed by os-cillation
3 Summary(pl): Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation
9 Source0: http://download.berlios.de/xfce-goodies/exo-%{version}.tar.bz2
10 # Source0-md5: ffcd73ec6b34f19c81afdc3f1a97377b
11 URL: http://www.os-cillation.com/
12 BuildRequires: gettext-devel
13 BuildRequires: gtk-doc >= 1.0
14 BuildRequires: gtk+2-devel >= 2:2.4.0
15 BuildRequires: libxfcegui4-devel >= 4.2.0
16 BuildRequires: pkgconfig
18 BuildRequires: python-pygtk-devel >= 2:2.4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Extension library to Xfce developed by os-cillation.
25 Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation.
28 Summary: Header files for libexo library
29 Summary(pl): Pliki nag³ówkowe biblioteki libexo
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: libxfcegui4-devel >= 4.2.0
35 Header files for libexo library.
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki libexo.
41 Summary: Static libexo library
42 Summary(pl): Statyczna biblioteka libexo
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static libexo library.
49 %description static -l pl
50 Statyczna biblioteka libexo.
52 %package -n python-exo
53 Summary: Python binding for libexo library
54 Summary(pl): Wi±zania Pythona do biblioteki libexo
55 Group: Libraries/Python
56 Requires: %{name} = %{version}-%{release}
57 %pyrequires_eq python-libs
59 %description -n python-exo
60 Python binding for libexo library.
62 %description -n python-exo -l pl
63 Wi±zania Pythona do biblioteki libexo.
65 %package -n python-exo-devel
66 Summary: Development files for libexo Python bindings
67 Summary(pl): Pliki programistyczne wi±zañ Pythona do libexo
68 Group: Libraries/Python
69 Requires: python-exo = %{version}-%{release}
71 %description -n python-exo-devel
72 Development files for libexo Python bindings.
74 %description -n python-exo-devel -l pl
75 Pliki programistyczne wi±zañ Pythona do libexo.
78 %setup -q -n exo-%{version}
82 --with-html-dir=%{_gtkdocdir} \
83 %{!?with_static_libs:--disable-static}
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 rm -f $RPM_BUILD_ROOT%{py_sitedir}/exo-0.3/*.{la,a}
94 %find_lang %{name}-0.3
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
102 %files -f %{name}-0.3.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog HACKING NEWS README TODO
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so
111 %{_includedir}/exo-0.3
112 %{_pkgconfigdir}/*.pc
115 %if %{with static_libs}
117 %defattr(644,root,root,755)
122 %defattr(644,root,root,755)
123 %dir %{py_sitedir}/exo-0.3
124 %attr(755,root,root) %{py_sitedir}/exo-0.3/_exo.so
125 %dir %{py_sitedir}/exo-0.3/exo
126 %{py_sitedir}/exo-0.3/exo/*.py[co]
127 %{py_sitescriptdir}/*.py[co]
129 %files -n python-exo-devel
130 %defattr(644,root,root,755)
131 %{_datadir}/pygtk/2.0/defs/exo-0.3