- updated to 0.5.0, added fix patch
[packages/cairomm.git] / cairomm.spec
1 Summary:        C++ wrapper for cairo
2 Summary(pl):    Interfejs C++ do cairo
3 Name:           cairomm
4 Version:        0.5.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://cairographics.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  e2762aedc2dac1ffa5b91a51e3a957fd
10 Patch0:         %{name}-fix.patch
11 URL:            http://cairographics.org/
12 BuildRequires:  cairo-devel >= 1.0.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.0.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 %patch0 -p1
52
53 %build
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 rm -rf $RPM_BUILD_ROOT%{_docdir}/libcairomm-1.0
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog
74 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc docs/reference/html/*
79 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so
80 %{_libdir}/libcairomm-1.0.la
81 %{_includedir}/cairomm-1.0
82 %{_pkgconfigdir}/cairomm-1.0.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libcairomm-1.0.a
This page took 0.130719 seconds and 3 git commands to generate.