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