]> git.pld-linux.org Git - packages/libart_lgpl.git/blame - libart_lgpl.spec
- added c_bindings.patch
[packages/libart_lgpl.git] / libart_lgpl.spec
CommitLineData
a9196f04 1#
182debcd 2# Conditional build:
226aec8f 3%bcond_without static_libs # don't build static library
182debcd 4#
a65b5882 5Summary: Library of graphics routines used by libgnomecanvas
3a54c2a5 6Summary(pl.UTF-8): Biblioteka funkcji graficznych używanych przez libgnomecanvas
a65b5882 7Name: libart_lgpl
a9196f04 8Version: 2.3.19
407fc050 9Release: 2
a65b5882 10License: LGPL
11Group: X11/Libraries
20e59ea4 12Source0: http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2
a9196f04 13# Source0-md5: ac885805d1918026a18b560f4015bc66
407fc050 14Patch0: %{name}-c_bindings.patch
a65b5882 15URL: http://www.gnome.org/
0049dd3b 16BuildRequires: autoconf
a9196f04 17BuildRequires: automake >= 1:1.9
0049dd3b 18BuildRequires: libtool
3f794a59 19Obsoletes: libart_lgpl2
20e59ea4 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a65b5882 21
38f4b741 22%description
a65b5882 23Graphics routines used by the GnomeCanvas widget and some other
38f4b741 24applications. libart renders vector paths and the like.
25
8a372d93
JR
26%description -l pl.UTF-8
27Funkcje graficzne używane przez widget GnomeCanvas i trochę innych
28aplikacji. libart renderuje ścieżki wektorów i tym podobne.
69638e6a 29
38f4b741 30%package devel
69638e6a 31Summary: Headers for libart_lgpl
3a54c2a5 32Summary(pl.UTF-8): Pliki nagłowkowe libart_lgpl
a65b5882 33Group: X11/Development/Libraries
a3f23e06 34Requires: %{name} = %{version}-%{release}
0049dd3b 35Obsoletes: libart_lgpl2-devel
20e59ea4 36Conflicts: gnome-libs-devel < 1.4.1.2
38f4b741 37
38%description devel
69638e6a
JB
39Header files for libart_lgpl.
40
8a372d93
JR
41%description devel -l pl.UTF-8
42Pliki nagłówkowe do biblioteki libart_lgpl.
69638e6a
JB
43
44%package static
45Summary: Static libart_lgpl library
3a54c2a5 46Summary(pl.UTF-8): Statyczna biblioteka libart_lgpl
69638e6a 47Group: X11/Development/Libraries
a3f23e06 48Requires: %{name}-devel = %{version}-%{release}
69638e6a
JB
49Conflicts: gnome-libs-static < 1.4.1.2
50
51%description static
52Static version of libart_lgpl library.
53
8a372d93 54%description static -l pl.UTF-8
69638e6a 55Statyczna wersja biblioteki libart_lgpl.
38f4b741 56
57%prep
58%setup -q
407fc050 59%patch0 -p1
38f4b741 60
61%build
488b41e5 62%{__libtoolize}
db646780 63%{__aclocal}
7d25be0f 64%{__autoconf}
20e59ea4 65%{__autoheader}
7d25be0f 66%{__automake}
a7dbbed6 67%configure \
226aec8f 68 %{!?with_static_libs:--disable-static}
a65b5882 69%{__make}
38f4b741 70
71%install
a65b5882 72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
2472b744 75 DESTDIR=$RPM_BUILD_ROOT \
76 pkgconfigdir=%{_pkgconfigdir}
38f4b741 77
78%clean
a9196f04 79rm -rf $RPM_BUILD_ROOT
38f4b741 80
a65b5882 81%post -p /sbin/ldconfig
38f4b741 82%postun -p /sbin/ldconfig
83
84%files
a65b5882 85%defattr(644,root,root,755)
fe845cd5 86%doc AUTHORS ChangeLog NEWS README
20e59ea4 87%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
38f4b741 88
89%files devel
a65b5882 90%defattr(644,root,root,755)
91%attr(755,root,root) %{_bindir}/libart2-config
92%attr(755,root,root) %{_libdir}/lib*.so
31f8a800 93%{_libdir}/lib*.la
20e59ea4 94%{_includedir}/libart-2.0
2472b744 95%{_pkgconfigdir}/*.pc
69638e6a 96
226aec8f 97%if %{with static_libs}
69638e6a
JB
98%files static
99%defattr(644,root,root,755)
100%{_libdir}/lib*.a
a7dbbed6 101%endif
This page took 0.049355 seconds and 4 git commands to generate.