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