]> git.pld-linux.org Git - packages/libcroco.git/blob - libcroco.spec
- up to version 0.5.0
[packages/libcroco.git] / libcroco.spec
1
2 Summary:        A CSS2 parsing library
3 Summary(pl):    Biblioteka analizuj±ca CSS2
4 Name:           libcroco
5 Version:        0.5.0
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/libcroco/0.5/%{name}-%{version}.tar.bz2
10 # Source0-md5:  2b152b07e87d448f6678ccb066afdc58
11 BuildRequires:  glib2-devel >= 2.0
12 BuildRequires:  libxml2-devel >= 2.4.23
13 BuildRequires:  pkgconfig >= 0.8
14 Requires:       glib2 >= 2.0
15 Requires:       libxml2 >= 2.4.23
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 CSS2 parsing and manipulation library for GNOME.
20
21 %description -l pl
22 Biblioteka analizuj±ca i obrabiaj±ca CSS2 dla GNOME.
23
24 %package devel
25 Summary:        Header files for developing with libcroco
26 Summary(pl):    Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych libcroco
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29 Requires:       glib2-devel >= 2.0
30 Requires:       libxml2-devel >= 2.4.23
31
32 %description devel
33 This package provides the necessary header files files to allow you
34 to develop with libcroco.
35
36 %description devel -l pl
37 Ten pakiet dostarcza pliki nag³ówkowe potrzebne do tworzenia
38 oprogramowania korzystaj±cego z libcroco.
39
40 %package static
41 Summary:        Static version of libcroco library
42 Summary(pl):    Statyczna wersja biblioteki libcroco
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Static version of libcroco library.
48
49 %description static -l pl
50 Statyczna wersja biblioteki libcroco.
51
52 %prep
53 %setup -q
54
55 %build
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67 install docs/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README TODO
78 %attr(755,root,root) %{_bindir}/csslint
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
80 %{_mandir}/man1/csslint.1*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc docs/usage.txt
85 %attr(755,root,root) %{_bindir}/croco-config
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_libdir}/lib*.la
88 %{_includedir}/libcroco
89 %{_pkgconfigdir}/libcroco.pc
90 %{_mandir}/man1/croco-config.1*
91 %{_examplesdir}/%{name}-%{version}
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/lib*.a
This page took 0.045552 seconds and 4 git commands to generate.