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