EFL core migration revision 69816
[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.1.0+svn.69484slp2+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:  pkgconfig(ecore)
13 BuildRequires:  pkgconfig(eina)
14
15
16 %description
17 Library that implements freedesktop.org specs for use with E17/EFL An implementation of several specifications from freedesktop.org intended for
18  use in Enlightenment DR17 (e17) and other applications using the Enlightenment
19  Foundation Libraries (EFL). Currently, the following specifications are
20  included:
21   - Base Directory
22   - Desktop Entry
23   - Icon Theme
24   - Menu
25  .
26  This package provides the libefreet0 and libefreet0-mime libraries, which
27  contains efreet-based functions for dealing with mime.
28
29
30
31 %package devel
32 Summary:    FreeDesktop.Org Compatibility Library (devel)
33 Group:      Development/Libraries
34 Requires:   %{name} = %{version}-%{release}
35
36 %description devel
37 Library that implements freedesktop.org specs (devel)
38
39
40 %prep
41 %setup -q
42
43 %build
44 export CFLAGS+=" -fvisibility=hidden -fPIC"
45 export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
46
47 %autogen --disable-static
48 %configure --disable-static
49 make %{?jobs:-j%jobs}
50
51 %install
52 rm -rf %{buildroot}
53 %make_install
54
55 %post -p /sbin/ldconfig
56
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(-,root,root,-)
61 /usr/lib/*.so.*
62 /usr/bin/*
63 /usr/lib/efreet/*
64
65
66 %files devel
67 %defattr(-,root,root,-)
68 /usr/include/*
69 /usr/lib/*.so
70 /usr/share/*
71 /usr/lib/pkgconfig/efreet-mime.pc
72 /usr/lib/pkgconfig/efreet-trash.pc
73 /usr/lib/pkgconfig/efreet.pc
74