]> git.pld-linux.org Git - packages/beryl-settings-bindings.git/blob - beryl-settings-bindings.spec
- release 3
[packages/beryl-settings-bindings.git] / beryl-settings-bindings.spec
1 Summary:        Bindings to beryl settings library
2 Summary(pl.UTF-8):      Dowiązania do biblioteki beryl settings
3 Name:           beryl-settings-bindings
4 Version:        0.2.1
5 Release:        3
6 Epoch:          1
7 License:        GPL v2+
8 Group:          Libraries/Python
9 Source0:        http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  dc3d35b7d2e53cc5fa6905e26ff194f3
11 URL:            http://beryl-project.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  beryl-core-devel >= 1:%{version}
15 BuildRequires:  glib2-devel >= 1:2.6.0
16 BuildRequires:  intltool >= 0.35.0
17 BuildRequires:  pkgconfig
18 BuildRequires:  python-Pyrex
19 BuildRequires:  python-devel >= 1:2.4
20 BuildRequires:  xorg-lib-libX11-devel
21 %pyrequires_eq  python-libs
22 Requires:       beryl-core >= 1:%{version}
23 Requires:       glib2 >= 1:2.6.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Bindings to beryl settings library.
28
29 %description -l pl.UTF-8
30 Dowiązania do biblioteki beryl settings.
31
32 %package devel
33 Summary:        Development files for beryl settings bindings
34 Summary(pl.UTF-8):      Pliki programistyczne dowiązań do biblioteki beryl settings
35 Group:          Development/Libraries
36 Requires:       %{name} = %{epoch}:%{version}-%{release}
37
38 %description devel
39 Development files for beryl settings bindings.
40
41 %description devel -l pl.UTF-8
42 Pliki programistyczne dowiązań do biblioteki beryl settings.
43
44 %prep
45 %setup -q
46 echo '#beryl version header' > VERSION
47 echo VERSION=%{version} >> VERSION
48
49 %build
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         PYTHON=%{__python} \
57         --disable-static
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 rm -f $RPM_BUILD_ROOT%{py_sitedir}/berylsettings.la
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{py_sitedir}/berylsettings.so
75
76 %files devel
77 %defattr(644,root,root,755)
78 %{_pkgconfigdir}/beryl-settings-bindings.pc
This page took 0.08687 seconds and 3 git commands to generate.