- fixes typo in configure.ac
[packages/cairomm.git] / cairomm.spec
CommitLineData
ef677a55 1Summary: C++ wrapper for cairo
36cfebeb 2Summary(pl.UTF-8): Interfejs C++ do cairo
ef677a55 3Name: cairomm
4a4e8d6d 4Version: 1.8.2
5Release: 1
ef677a55
JB
6License: LGPL v2+
7Group: Libraries
8ea1bbbe 8Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
4a4e8d6d 9# Source0-md5: 24aa46a4f92bdb2af7cd80e6b335f07f
ef677a55 10URL: http://cairographics.org/
1c6b9206 11BuildRequires: autoconf
12BuildRequires: automake
73d7fafb 13BuildRequires: cairo-devel >= 1.8.0
4e5d9fa9 14BuildRequires: doxygen
75e755ea 15BuildRequires: graphviz
16BuildRequires: libsigc++-devel
ef677a55 17BuildRequires: libstdc++-devel
8ea1bbbe 18BuildRequires: libtool >= 2:1.5
1e3892ad 19BuildRequires: pkgconfig
73d7fafb 20Requires: cairo >= 1.8.0
ef677a55
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24C++ wrapper for cairo.
25
285c99d3 26%description -l pl.UTF-8
ef677a55
JB
27Interfejs C++ do cairo.
28
29%package devel
30Summary: Development files for cairomm library
36cfebeb 31Summary(pl.UTF-8): Pliki programistyczne biblioteki cairomm
ef677a55
JB
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
73d7fafb 34Requires: cairo-devel >= 1.8.0
ef677a55
JB
35Requires: libstdc++-devel
36
37%description devel
38Development files for cairomm library.
39
285c99d3 40%description devel -l pl.UTF-8
ef677a55
JB
41Pliki programistyczne biblioteki cairomm.
42
43%package static
44Summary: Static cairomm library
36cfebeb 45Summary(pl.UTF-8): Statyczna biblioteka cairomm
ef677a55
JB
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static cairomm library.
51
285c99d3 52%description static -l pl.UTF-8
ef677a55
JB
53Statyczna biblioteka cairomm.
54
55%prep
56%setup -q
57
58%build
1c6b9206 59%{__libtoolize}
d83ceb02 60%{__aclocal} -I m4
1c6b9206 61%{__automake}
62%{__autoconf}
ef677a55
JB
63%configure
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
30441e57
JB
72rm -rf $RPM_BUILD_ROOT%{_docdir}/libcairomm-1.0
73
ef677a55
JB
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
80%files
81%defattr(644,root,root,755)
d83ceb02 82%doc AUTHORS ChangeLog MAINTAINERS NEWS README
ef677a55 83%attr(755,root,root) %{_libdir}/libcairomm-1.0.so.*.*.*
c4dd6b6e 84%attr(755,root,root) %ghost %{_libdir}/libcairomm-1.0.so.1
ef677a55
JB
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
73d7fafb
JB
93%{_pkgconfigdir}/cairomm-ft-1.0.pc
94%{_pkgconfigdir}/cairomm-pdf-1.0.pc
95%{_pkgconfigdir}/cairomm-png-1.0.pc
96%{_pkgconfigdir}/cairomm-ps-1.0.pc
97%{_pkgconfigdir}/cairomm-svg-1.0.pc
98%{_pkgconfigdir}/cairomm-xlib-1.0.pc
99%{_pkgconfigdir}/cairomm-xlib-xrender-1.0.pc
ef677a55
JB
100
101%files static
102%defattr(644,root,root,755)
103%{_libdir}/libcairomm-1.0.a
This page took 0.074222 seconds and 4 git commands to generate.