]> git.pld-linux.org Git - SPECS.git/blob - python-pigment.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / python-pigment.spec
1 Summary:        Python wrapper for Pigment library
2 Summary(pl.UTF-8):      Pythonowy interfejs do biblioteki Pigment
3 Name:           python-pigment
4 Version:        0.3.12
5 Release:        9
6 License:        LGPL v2+
7 Group:          Libraries/Python
8 Source0:        http://elisa.fluendo.com/static/download/pigment/pigment-python-%{version}.tar.gz
9 # Source0-md5:  dd42ce291be4d37d9a933c9e3cd71590
10 URL:            http://www.fluendo.com/elisa/
11 BuildRequires:  pigment-devel >= 0.3.17
12 BuildRequires:  pkgconfig
13 BuildRequires:  python-devel
14 BuildRequires:  python-pygobject-devel >= 2.8.0
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.234
17 Requires:       pigment >= 0.3.14
18 Requires:       python-pygobject >= 2.8.0
19 Obsoletes:      pigment-python
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module contains a wrapper that allows Pigment applications to be
24 written in Python.
25
26 %description -l pl.UTF-8
27 Ten moduł zawiera interfejs pozwalający na pisanie w Pythonie
28 aplikacji wykorzystujących bibliotekę Pigment.
29
30 %prep
31 %setup -q -n pigment-python-%{version}
32
33 %build
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT \
42         examplesdir=%{_examplesdir}/%{name}-%{version} \
43         picturesdir=%{_examplesdir}/%{name}-%{version}/pictures
44
45 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
46 %py_postclean $RPM_BUILD_ROOT%{_datadir}/pigment-python/2.0
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS ChangeLog NEWS README RELEASE TODO
54 %attr(755,root,root) %{py_sitedir}/_pgmmodule.so
55 %attr(755,root,root) %{py_sitedir}/_pgmgtkmodule.so
56 %attr(755,root,root) %{py_sitedir}/_pgmimagingmodule.so
57 %{py_sitescriptdir}/pgm
58 %{_datadir}/pigment-python
59 %{_examplesdir}/%{name}-%{version}
This page took 3.264759 seconds and 3 git commands to generate.