9459d1b446b90a55915286bca2a3489c095ed772
[packages/cairomm.git] / cairomm.spec
1 Summary:        C++ wrapper for cairo
2 Summary(pl):    Interfejs C++ do cairo
3 Name:           cairomm
4 Version:        0.3.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://cairographics.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  bf8aff38e948821042145557266a92d4
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 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog
70 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.*
71
72 %files devel
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/libcairomm-1.0.so
75 %{_libdir}/libcairomm-1.0.la
76 %{_includedir}/cairomm-1.0
77 %{_pkgconfigdir}/cairomm-1.0.pc
78
79 %files static
80 %defattr(644,root,root,755)
81 %{_libdir}/libcairomm-1.0.a
This page took 0.030716 seconds and 2 git commands to generate.