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