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