]> git.pld-linux.org Git - packages/eel.git/blob - eel.spec
cd315250fa354bd73cd40c20063f59a07fe169a4
[packages/eel.git] / eel.spec
1 # Note that this is NOT a relocatable package
2
3 Summary:        Eazel Extensions Library
4 Summary(pl):    Biblioteka rozszerzeñ Eazel
5 Name:           eel
6 Version:        1.0.1
7 Release:        1
8 Vendor:         GNOME
9 License:        GPL
10 Group:          Libraries
11 Group(de):      Libraries
12 Group(es):      Bibliotecas
13 Group(fr):      Librairies
14 Group(pl):      Biblioteki
15 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/eel/%{name}-%{version}.tar.gz
16 URL:            http://nautilus.eazel.com/
17 BuildRequires:  glib-devel >= 1.2.9
18 BuildRequires:  gtk+-devel >= 1.2.9
19 BuildRequires:  libxml-devel >= 1.8.10
20 BuildRequires:  gnome-libs-devel >= 1.2.11
21 BuildRequires:  GConf-devel >= 0.12
22 BuildRequires:  oaf-devel >= 0.6.5
23 BuildRequires:  gnome-vfs-devel >= 1.0
24 BuildRequires:  gdk-pixbuf-devel >= 0.10.0
25 BuildRequires:  libpng-devel
26 BuildRequires:  librsvg-devel >= 1.0.0
27 BuildRequires:  xml-i18n-tools
28 BuildRequires:  freetype-devel >= 2.0.1
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define _prefix         /usr/X11R6
32 %define _sysconfdir     /etc
33
34 %description
35 Eazel Extensions Library
36
37 %package devel
38 Summary:        Libraries and include files for developing with Eel.
39 Group:          Development/Libraries
40 Group(de):      Entwicklung/Libraries
41 Group(fr):      Development/Librairies
42 Group(pl):      Programowanie/Biblioteki
43 Requires:       %name = %{PACKAGE_VERSION}
44
45 %description devel
46 This package provides the necessary development libraries and include
47 files to allow you to develop with Eel.
48
49 %prep
50 %setup -q
51
52 %build
53 rm missing
54
55 CFLAGS="$RPM_OPT_FLAGS"
56 %configure2_13 $MYARCH_FLAGS \
57         --disable-gtktest \
58         --prefix=%{_prefix} \
59         --sysconfdir=%{_sysconfdir} \
60 %ifarch alpha
61         --host=alpha-pld-linux
62 %endif
63
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} DESTDIR=$RPM_BUILD_ROOT install
69
70 for FILE in "$RPM_BUILD_ROOT/bin/*"; do
71         file "$FILE" | grep -q not\ stripped && strip $FILE
72 done
73
74 gzip -9nf AUTHORS ChangeLog NEWS
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 /sbin/ldconfig
81
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/*.so*
87 %{_datadir}/eel/fonts/urw/*.dir
88 %{_datadir}/eel/fonts/urw/*.pfb
89 %{_datadir}/eel/fonts/urw/*.afm
90 %{_datadir}/eel/fonts/urw/*.pfm
91 %doc *.gz
92
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/eel-config
97 %{_includedir}/eel/*.h
98 %{_libdir}/*.la
99 %{_libdir}/*.sh
This page took 0.092976 seconds and 3 git commands to generate.