]>
Commit | Line | Data |
---|---|---|
5ac0377c | 1 | Summary: Library integrating clutter with Cairo |
8ce00dde | 2 | Summary(pl.UTF-8): Biblioteka integrująca clutter z Cairo |
5ac0377c | 3 | Name: clutter-cairo |
4 | Version: 0.1.0 | |
5 | Release: 1 | |
8ce00dde JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
5ac0377c | 8 | Source0: http://www.clutter-project.org/sources/clutter-cairo/0.1/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 69e65f708399802ffce434716ea7714e | |
8ce00dde | 10 | URL: http://www.clutter-project.org/ |
c52f7359 JB |
11 | BuildRequires: autoconf >= 2.53 |
12 | BuildRequires: automake >= 1:1.7 | |
13 | BuildRequires: clutter-devel >= 0.2 | |
14 | BuildRequires: cairo-devel >= 1.4 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig | |
5ac0377c | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
8ce00dde | 20 | Library integrating clutter with Cairo. |
5ac0377c | 21 | |
8ce00dde JB |
22 | %description -l pl.UTF-8 |
23 | Biblioteka integrująca clutter z Cairo. | |
5ac0377c | 24 | |
25 | %package devel | |
26 | Summary: Header files for clutter-cairo library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-cairo | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
c52f7359 JB |
30 | Requires: clutter-devel >= 0.2 |
31 | Requires: cairo-devel >= 1.4 | |
5ac0377c | 32 | |
33 | %description devel | |
34 | Header files for clutter-cairo library. | |
35 | ||
36 | %description devel -l pl.UTF-8 | |
37 | Pliki nagłówkowe biblioteki clutter-cairo. | |
38 | ||
39 | %package static | |
40 | Summary: Static clutter-cairo library | |
41 | Summary(pl.UTF-8): Statyczna biblioteka clutter-cairo | |
42 | Group: Development/Libraries | |
43 | Requires: %{name}-devel = %{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static clutter-cairo library. | |
47 | ||
48 | %description static -l pl.UTF-8 | |
49 | Statyczna biblioteka clutter-cairo. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
c52f7359 | 55 | %{__libtoolize} |
5ac0377c | 56 | %{__aclocal} |
57 | %{__autoconf} | |
c52f7359 | 58 | %{__autoheader} |
5ac0377c | 59 | %{__automake} |
c52f7359 JB |
60 | %configure \ |
61 | --enable-static | |
5ac0377c | 62 | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
c52f7359 JB |
79 | %doc ChangeLog README |
80 | %attr(755,root,root) %{_libdir}/libclutter-cairo-*.so.*.*.* | |
5ac0377c | 81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
c52f7359 JB |
84 | %attr(755,root,root) %{_libdir}/libclutter-cairo-*.so |
85 | %{_libdir}/libclutter-cairo-*.la | |
86 | %{_includedir}/clutter-cairo-* | |
87 | %{_pkgconfigdir}/clutter-cairo-*.pc | |
88 | ||
89 | %files static | |
90 | %defattr(644,root,root,755) | |
91 | %{_libdir}/libclutter-cairo-*.a |