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