]>
Commit | Line | Data |
---|---|---|
1 | Summary: C++ wrapper for cairo | |
2 | Summary(pl.UTF-8): Interfejs C++ do cairo | |
3 | Name: cairomm | |
4 | Version: 1.8.4 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 559afbc47484ba3fad265e38a3dafe90 | |
10 | Patch0: %{name}-typo.patch | |
11 | URL: http://cairographics.org/ | |
12 | BuildRequires: autoconf >= 2.62 | |
13 | BuildRequires: automake >= 1:1.10 | |
14 | BuildRequires: cairo-devel >= 1.8.0 | |
15 | BuildRequires: doxygen | |
16 | BuildRequires: graphviz | |
17 | BuildRequires: libsigc++-devel >= 2.0 | |
18 | BuildRequires: libstdc++-devel | |
19 | BuildRequires: libtool >= 2:1.5 | |
20 | BuildRequires: mm-common | |
21 | BuildRequires: pkgconfig | |
22 | Requires: cairo >= 1.8.0 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | C++ wrapper for cairo. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Interfejs C++ do cairo. | |
30 | ||
31 | %package devel | |
32 | Summary: Development files for cairomm library | |
33 | Summary(pl.UTF-8): Pliki programistyczne biblioteki cairomm | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | Requires: cairo-devel >= 1.8.0 | |
37 | Requires: libsigc++-devel >= 2.0 | |
38 | ||
39 | %description devel | |
40 | Development files for cairomm library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki programistyczne biblioteki cairomm. | |
44 | ||
45 | %package static | |
46 | Summary: Static cairomm library | |
47 | Summary(pl.UTF-8): Statyczna biblioteka cairomm | |
48 | Group: Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static cairomm library. | |
53 | ||
54 | %description static -l pl.UTF-8 | |
55 | Statyczna biblioteka cairomm. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | %patch0 -p1 | |
60 | ||
61 | %build | |
62 | %{__libtoolize} | |
63 | %{__aclocal} -I build | |
64 | %{__automake} | |
65 | %{__autoconf} | |
66 | %configure \ | |
67 | --enable-static | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | rm -rf $RPM_BUILD_ROOT%{_docdir}/cairomm-1.0 | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
87 | %attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.* | |
88 | %attr(755,root,root) %ghost %{_libdir}/libcairomm-1.0.so.1 | |
89 | ||
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
92 | %doc docs/reference/html/* | |
93 | %attr(755,root,root) %{_libdir}/libcairomm-1.0.so | |
94 | %{_libdir}/libcairomm-1.0.la | |
95 | %{_libdir}/cairomm-1.0 | |
96 | %{_includedir}/cairomm-1.0 | |
97 | %{_pkgconfigdir}/cairomm-1.0.pc | |
98 | %{_pkgconfigdir}/cairomm-ft-1.0.pc | |
99 | %{_pkgconfigdir}/cairomm-pdf-1.0.pc | |
100 | %{_pkgconfigdir}/cairomm-png-1.0.pc | |
101 | %{_pkgconfigdir}/cairomm-ps-1.0.pc | |
102 | %{_pkgconfigdir}/cairomm-svg-1.0.pc | |
103 | %{_pkgconfigdir}/cairomm-xlib-1.0.pc | |
104 | %{_pkgconfigdir}/cairomm-xlib-xrender-1.0.pc | |
105 | ||
106 | %files static | |
107 | %defattr(644,root,root,755) | |
108 | %{_libdir}/libcairomm-1.0.a |