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