]> git.pld-linux.org Git - packages/eel.git/blob - eel.spec
d7f25b97b474e704ecf081a6e331b3f17e7ce250
[packages/eel.git] / eel.spec
1 Summary:        Eazel Extensions Library
2 Summary(pl):    Biblioteka rozszerzeñ Eazel
3 Name:           eel
4 Version:        1.0.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/eel/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-font-dir.patch
10 URL:            http://nautilus.eazel.com/
11 BuildRequires:  GConf-devel >= 0.12
12 BuildRequires:  freetype-devel >= 2.0.1
13 BuildRequires:  gdk-pixbuf-devel >= 0.10.0
14 BuildRequires:  gnome-libs-devel >= 1.2.11
15 BuildRequires:  gnome-vfs-devel >= 1.0
16 BuildRequires:  gtk+-devel >= 1.2.9
17 BuildRequires:  libxml-devel >= 1.8.10
18 BuildRequires:  libpng-devel
19 BuildRequires:  librsvg-devel >= 1.0.0
20 BuildRequires:  oaf-devel >= 0.6.5
21 BuildRequires:  xml-i18n-tools
22 BuildRequires:  gettext-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _sysconfdir     /etc
27
28 %description
29 Eazel Extensions Library is a collection of widgets and extensions to
30 many modules of the GNOME platform.
31
32 %description -l pl
33 Biblioteka rozszerzeñ Eazel
34
35 %package devel
36 Summary:        Libraries and include files for developing with Eel.
37 Summary(pl):    Biblioteki i nag³ówki potrzebne do developing'u z u¿yciem Eel.
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}
40
41 %description devel
42 This package provides the necessary development libraries and include
43 files to allow you to develop with Eel.
44
45 %description -l pl devel
46 Ten pakiet zawiera biblioteki oraz pliki nag³ówkowe niezbêdne do
47 tworzenia oprogramowania z wykorzystaniem Eel.
48
49 %package static
50 Summary:        Static eel libraries
51 Summary(pl):    Biblioteki statyczne eel
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 Static eel libraries.
57
58 %description -l pl static
59 Biblioteki statyczne eel.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 %configure2_13 \
67         --disable-gtktest \
68         --enable-static
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} DESTDIR=$RPM_BUILD_ROOT install
75
76 mkdir $RPM_BUILD_ROOT%{_includedir}/eel
77 cp $RPM_BUILD_ROOT%{_includedir}/eel-1/eel/*.h $RPM_BUILD_ROOT%{_includedir}/eel/
78 rm -rf $RPM_BUILD_ROOT%{_includedir}/eel-1
79
80 gzip -9nf AUTHORS ChangeLog NEWS
81
82 %find_lang %{name}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/*.so.*.*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %doc *.gz
97 %attr(755,root,root) %{_bindir}/eel-config
98 %{_includedir}/eel
99 %attr(755,root,root) %{_libdir}/lib*.la
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %attr(755,root,root) %{_libdir}/*.sh
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.076622 seconds and 3 git commands to generate.