]> git.pld-linux.org Git - packages/exo.git/blob - exo.spec
2a32b763e4543f8c2ab2bc7f5c8f1dee159b4931
[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 Requires:       libxfcegui4-devel >= 4.2.0
33
34 %description devel
35 Header files for libexo library.
36
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki libexo.
39
40 %package static
41 Summary:        Static libexo library
42 Summary(pl):    Statyczna biblioteka libexo
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static libexo library.
48
49 %description static -l pl
50 Statyczna biblioteka libexo.
51
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
58
59 %description -n python-exo
60 Python binding for libexo library.
61
62 %description -n python-exo -l pl
63 Wi±zania Pythona do biblioteki libexo.
64
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}
70
71 %description -n python-exo-devel
72 Development files for libexo Python bindings.
73
74 %description -n python-exo-devel -l pl
75 Pliki programistyczne wi±zañ Pythona do libexo.
76
77 %prep
78 %setup -q -n exo-%{version}
79
80 %build
81 %configure \
82         --with-html-dir=%{_gtkdocdir}
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 rm -f $RPM_BUILD_ROOT%{py_sitedir}/exo-0.3/*.{la,a}
92
93 %find_lang %{name}-0.3
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files -f %{name}-0.3.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog HACKING NEWS README TODO
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_libdir}/lib*.la
110 %{_includedir}/exo-0.3
111 %{_pkgconfigdir}/*.pc
112 %{_gtkdocdir}/exo
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/lib*.a
117
118 %files -n python-exo
119 %defattr(644,root,root,755)
120 %dir %{py_sitedir}/exo-0.3
121 %attr(755,root,root) %{py_sitedir}/exo-0.3/_exo.so
122 %dir %{py_sitedir}/exo-0.3/exo
123 %{py_sitedir}/exo-0.3/exo/*.py[co]
124 %{py_sitescriptdir}/*.py[co]
125
126 %files -n python-exo-devel
127 %defattr(644,root,root,755)
128 %{_datadir}/pygtk/2.0/defs/exo-0.3
This page took 0.046354 seconds and 2 git commands to generate.