- BR libstdc++-devel, python
[packages/exo.git] / exo.spec
1 Summary:        Extension library to Xfce developed by os-cillation
2 Summary(pl):    Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation
3 Name:           libexo
4 Version:        0.3.0
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://download.berlios.de/xfce-goodies/exo-%{version}.tar.bz2
9 # Source0-md5:  ffcd73ec6b34f19c81afdc3f1a97377b
10 URL:            http://www.os-cillation.com/
11 BuildRequires:  gettext-devel
12 BuildRequires:  gtk-doc >= 1.0
13 BuildRequires:  gtk+2-devel >= 2:2.4.0
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libxfcegui4-devel >= 4.2.0
16 BuildRequires:  pkgconfig
17 BuildRequires:  python
18 BuildRequires:  python-pygtk-devel >= 2:2.4.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Extension library to Xfce developed by os-cillation.
23
24 %description -l pl
25 Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation.
26
27 %package devel
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
33 %description devel
34 Header files for libexo library.
35
36 %description devel -l pl
37 Pliki nag³ówkowe biblioteki libexo.
38
39 %package static
40 Summary:        Static libexo library
41 Summary(pl):    Statyczna biblioteka libexo
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static libexo library.
47
48 %description static -l pl
49 Statyczna biblioteka libexo.
50
51 %package -n python-exo
52 Summary:        Python binding for libexo library
53 Summary(pl):    Wi±zania Pythona do biblioteki libexo
54 Group:          Libraries/Python
55 Requires:       %{name} = %{version}-%{release}
56 %pyrequires_eq  python-libs
57
58 %description -n python-exo
59 Python binding for libexo library.
60
61 %description -n python-exo -l pl
62 Wi±zania Pythona do biblioteki libexo.
63
64 %package -n python-exo-devel
65 Summary:        Development files for libexo Python bindings
66 Summary(pl):    Pliki programistyczne wi±zañ Pythona do libexo
67 Group:          Libraries/Python
68 Requires:       python-exo = %{version}-%{release}
69
70 %description -n python-exo-devel
71 Development files for libexo Python bindings.
72
73 %description -n python-exo-devel -l pl
74 Pliki programistyczne wi±zañ Pythona do libexo.
75
76 %prep
77 %setup -q -n exo-%{version}
78
79 %build
80 %configure \
81         --with-html-dir=%{_gtkdocdir}
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 rm -f $RPM_BUILD_ROOT%{py_sitedir}/exo-0.3/*.{la,a}
91
92 %find_lang %{name}-0.3
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files -f %{name}-0.3.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog HACKING NEWS README TODO
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_libdir}/lib*.la
109 %{_includedir}/exo-0.3
110 %{_pkgconfigdir}/*.pc
111 %{_gtkdocdir}/exo
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/lib*.a
116
117 %files -n python-exo
118 %defattr(644,root,root,755)
119 %dir %{py_sitedir}/exo-0.3
120 %attr(755,root,root) %{py_sitedir}/exo-0.3/_exo.so
121 %dir %{py_sitedir}/exo-0.3/exo
122 %{py_sitedir}/exo-0.3/exo/*.py[co]
123 %{py_sitescriptdir}/*.py[co]
124
125 %files -n python-exo-devel
126 %defattr(644,root,root,755)
127 %{_datadir}/pygtk/2.0/defs/exo-0.3
This page took 0.047655 seconds and 3 git commands to generate.