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