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