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