]> git.pld-linux.org Git - packages/libcroco.git/blame - libcroco.spec
- converted to UTF-8
[packages/libcroco.git] / libcroco.spec
CommitLineData
22d89475 1#
e88e6b90 2%define _mver 0.6
2d864d84 3#
67f0fbb0 4# Conditional build:
94528401 5%bcond_without static_libs # don't build static library
67f0fbb0 6#
0705cedf 7Summary: A CSS2 parsing library
9ad04c35 8Summary(pl.UTF-8): Biblioteka analizująca CSS2
0705cedf 9Name: libcroco
e88e6b90 10Version: %{_mver}.1
4e56bad1 11Release: 3
0705cedf
JB
12License: LGPL
13Group: Libraries
22d89475 14Source0: http://ftp.gnome.org/pub/gnome/sources/libcroco/%{_mver}/%{name}-%{version}.tar.bz2
e88e6b90 15# Source0-md5: b0975bd01eb11964f1b3f254f267a43d
8e9f718c
JB
16Patch0: %{name}-link.patch
17BuildRequires: autoconf >= 2.5
18BuildRequires: automake
a32e02b0 19BuildRequires: glib2-devel >= 1:2.12.0
8e9f718c 20BuildRequires: libtool
a32e02b0 21BuildRequires: libxml2-devel >= 1:2.6.26
cd60c3cd 22BuildRequires: pkgconfig >= 1:0.8
a32e02b0 23Requires: glib2 >= 1:2.12.0
24Requires: libxml2 >= 1:2.6.26
0705cedf
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28CSS2 parsing and manipulation library for GNOME.
29
9ad04c35
JR
30%description -l pl.UTF-8
31Biblioteka analizująca i obrabiająca CSS2 dla GNOME.
0705cedf
JB
32
33%package devel
34Summary: Header files for developing with libcroco
9ad04c35 35Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów używających libcroco
0705cedf 36Group: Development/Libraries
b867a0df 37Requires: %{name} = %{version}-%{release}
a32e02b0 38Requires: glib2-devel >= 1:2.12.0
39Requires: libxml2-devel >= 1:2.6.26
0705cedf
JB
40
41%description devel
42This package provides the necessary header files files to allow you
43to develop with libcroco.
44
9ad04c35
JR
45%description devel -l pl.UTF-8
46Ten pakiet dostarcza pliki nagłówkowe potrzebne do tworzenia
47oprogramowania korzystającego z libcroco.
0705cedf
JB
48
49%package static
50Summary: Static version of libcroco library
9ad04c35 51Summary(pl.UTF-8): Statyczna wersja biblioteki libcroco
0705cedf 52Group: Development/Libraries
f6b7fc84 53Requires: %{name}-devel = %{version}-%{release}
0705cedf
JB
54
55%description static
56Static version of libcroco library.
57
9ad04c35 58%description static -l pl.UTF-8
0705cedf
JB
59Statyczna wersja biblioteki libcroco.
60
61%prep
62%setup -q
8e9f718c 63%patch0 -p1
0705cedf
JB
64
65%build
8e9f718c
JB
66%{__libtoolize}
67%{__aclocal}
68%{__autoconf}
69%{__autoheader}
70%{__automake}
94528401 71%configure \
72 %{!?with_static_libs:--disable-static}
0705cedf
JB
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
8e9f718c 82install docs/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
0705cedf
JB
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(644,root,root,755)
92%doc AUTHORS ChangeLog NEWS README TODO
2d864d84 93%attr(755,root,root) %{_bindir}/csslint-%{_mver}
0705cedf 94%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
2d864d84 95#%%{_mandir}/man1/csslint.1*
0705cedf
JB
96
97%files devel
98%defattr(644,root,root,755)
99%doc docs/usage.txt
2d864d84 100%attr(755,root,root) %{_bindir}/croco-%{_mver}-config
0705cedf
JB
101%attr(755,root,root) %{_libdir}/lib*.so
102%{_libdir}/lib*.la
2d864d84 103%{_includedir}/libcroco-%{_mver}
104%{_pkgconfigdir}/libcroco-%{_mver}.pc
105#%%{_mandir}/man1/croco-config.1*
0705cedf
JB
106%{_examplesdir}/%{name}-%{version}
107
94528401 108%if %{with static_libs}
0705cedf
JB
109%files static
110%defattr(644,root,root,755)
111%{_libdir}/lib*.a
94528401 112%endif
This page took 0.040267 seconds and 4 git commands to generate.