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