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