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