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