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