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