Package Upload
[framework/uifw/efreet.git] / packaging / efreet.spec
1 #sbs-git:slp/pkgs/e/efreet efreet 1.1.0+svn.68229slp2+build01 96633d447858c306751083627e503e1e3b2bb0e1
2 Name:       efreet
3 Summary:    FreeDesktop.Org Compatibility Library
4 Version:    1.6.0+svn.74618slp2+build01
5 Release:    1
6 Group:      System/Libraries
7 License:    BSD
8 URL:        http://www.enlightenment.org/
9 Source0:    %{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  gettext
13 BuildRequires:  eina-devel
14 BuildRequires:  eet-devel
15 BuildRequires:  ecore-devel
16
17
18 %description
19 Library that implements freedesktop.org specs for use with E17/EFL An implementation of several specifications from freedesktop.org intended for
20  use in Enlightenment DR17 (e17) and other applications using the Enlightenment
21  Foundation Libraries (EFL). Currently, the following specifications are
22  included:
23   - Base Directory
24   - Desktop Entry
25   - Icon Theme
26   - Menu
27  .
28  This package provides the libefreet0 and libefreet0-mime libraries, which
29  contains efreet-based functions for dealing with mime.
30
31
32
33 %package devel
34 Summary:    FreeDesktop.Org Compatibility Library (devel)
35 Group:      Development/Libraries
36 Requires:   %{name} = %{version}-%{release}
37
38 %description devel
39 Library that implements freedesktop.org specs (devel)
40
41
42 %prep
43 %setup -q
44
45 %build
46 export CFLAGS+=" -fvisibility=hidden -fPIC"
47 export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
48
49 %autogen --disable-static
50 %configure --disable-static
51 make %{?jobs:-j%jobs}
52
53 %install
54 rm -rf %{buildroot}
55 %make_install
56
57 %post -p /sbin/ldconfig
58
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(-,root,root,-)
63 /usr/lib/*.so.*
64 /usr/bin/*
65 /usr/lib/efreet/*
66
67
68 %files devel
69 %defattr(-,root,root,-)
70 /usr/include/*
71 /usr/lib/*.so
72 /usr/share/*
73 /usr/lib/pkgconfig/efreet-mime.pc
74 /usr/lib/pkgconfig/efreet-trash.pc
75 /usr/lib/pkgconfig/efreet.pc
76