- updated to 1.4.4 (with fixed versioning, back to 1.2.x soname)
[packages/cairomm.git] / cairomm.spec
CommitLineData
ef677a55 1Summary: C++ wrapper for cairo
36cfebeb 2Summary(pl.UTF-8): Interfejs C++ do cairo
ef677a55 3Name: cairomm
6a588b47 4Version: 1.4.4
d83ceb02 5Release: 1
ef677a55
JB
6License: LGPL v2+
7Group: Libraries
8ea1bbbe 8Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
6a588b47 9# Source0-md5: a5b947eb2692b0b6c3089fcfa6ce167e
ef677a55 10URL: http://cairographics.org/
1c6b9206 11BuildRequires: autoconf
12BuildRequires: automake
d83ceb02 13BuildRequires: cairo-devel >= 1.4.0
ef677a55 14BuildRequires: libstdc++-devel
8ea1bbbe 15BuildRequires: libtool >= 2:1.5
1e3892ad 16BuildRequires: pkgconfig
d83ceb02 17Requires: cairo >= 1.4.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}
d83ceb02 31Requires: cairo-devel >= 1.4.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
JB
80%attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.*
81
82%files devel
83%defattr(644,root,root,755)
30441e57 84%doc docs/reference/html/*
ef677a55
JB
85%attr(755,root,root) %{_libdir}/libcairomm-1.0.so
86%{_libdir}/libcairomm-1.0.la
87%{_includedir}/cairomm-1.0
88%{_pkgconfigdir}/cairomm-1.0.pc
89
90%files static
91%defattr(644,root,root,755)
92%{_libdir}/libcairomm-1.0.a
This page took 0.049713 seconds and 4 git commands to generate.