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