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