noarch apidocs
[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.10.0
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://cairographics.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  9c63fb1c04c8ecd3c5e6473075b8c39f
10 URL:            http://cairographics.org/
11 BuildRequires:  autoconf >= 2.62
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  cairo-devel >= 1.10.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 >= 0.8
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 %package apidocs
57 Summary:        cairomm API documentation
58 Summary(pl.UTF-8):      Dokumentacja API biblioteki cairomm
59 Group:          Documentation
60 %if "%{_rpmversion}" >= "5"
61 BuildArch:      noarch
62 %endif
63
64 %description apidocs
65 API and internal documentation for cairomm library.
66
67 %description apidocs -l pl.UTF-8
68 Dokumentacja API biblioteki cairomm.
69
70 %prep
71 %setup -q
72
73 %build
74 %{__libtoolize}
75 %{__aclocal} -I build
76 %{__automake}
77 %{__autoconf}
78 %configure \
79         --enable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcairomm-1.0.la
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
99 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libcairomm-1.0.so.1
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so
105 %{_libdir}/cairomm-1.0
106 %{_includedir}/cairomm-1.0
107 %{_pkgconfigdir}/cairomm-1.0.pc
108 %{_pkgconfigdir}/cairomm-ft-1.0.pc
109 %{_pkgconfigdir}/cairomm-pdf-1.0.pc
110 %{_pkgconfigdir}/cairomm-png-1.0.pc
111 %{_pkgconfigdir}/cairomm-ps-1.0.pc
112 %{_pkgconfigdir}/cairomm-svg-1.0.pc
113 %{_pkgconfigdir}/cairomm-xlib-1.0.pc
114 %{_pkgconfigdir}/cairomm-xlib-xrender-1.0.pc
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/libcairomm-1.0.a
119
120 %files apidocs
121 %defattr(644,root,root,755)
122 %{_docdir}/cairomm-1.0
123 %{_datadir}/devhelp/books/cairomm-1.0
This page took 0.0333 seconds and 3 git commands to generate.