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