]> git.pld-linux.org Git - packages/efreet.git/blob - efreet.spec
- new
[packages/efreet.git] / efreet.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        freedesktop.org standards implementation for the EFL
6 Summary(pl.UTF-8):      Implementacja standardów freedesktop.org dla EFL
7 Name:           efreet
8 Version:        0.0.3.002
9 Release:        1
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  e39b686b04cfa3ef634efe8f95858daf
14 URL:            http://enlightenment.org/p.php?p=about/libs/efreet
15 BuildRequires:  autoconf
16 BuildRequires:  automake >= 1.4
17 # ecore-file; ecore-desktop for tests
18 BuildRequires:  ecore-devel >= 0.9.9
19 BuildRequires:  libtool
20 BuildRequires:  pkgconfig
21 BuildRequires:  sed >= 4.0
22 Requires:       ecore-file >= 0.9.9
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Efreet is an implementation of the following specifications from
27 freedesktop.org:
28  - Base Directory - Locations for system and user specific desktop
29    configuration files,
30  - Desktop Entries - The metadata associated with the applications
31    installed on a system,
32  - Application Menus - The arrangement of available applications into
33    a hierarchical menu,
34  - Icon Themes - A means of associating icons with various objects on
35    the desktop in a themable fashion.
36
37 By following these specifications, Enlightenment 0.17 uses the same
38 format for describing application launchers, menus and icon themes as
39 the GNOME, KDE and XFCE Desktop Environments. A system must only
40 provide a single set of this data for use with any of these desktops.
41
42 %description -l pl.UTF-8
43 Efreet to implementacja następujących specyfikacji z freedesktop.org:
44  - Base Directory - położenie plików konfiguracyjnych środowiska dla
45    systemu i użytkownika,
46  - Desktop Entries - metadane związane z aplikacjami zainstalowanymi w
47    systemie,
48  - Application Menus - uporządkowanie dostępnych aplikacji w menu
49    hierarchiczne,
50  - Icon Themes - sposób wiązania ikon z różnymi obiektami w środowisku
51    w sposób pozwalający na ustawianie motywów.
52
53 %package devel
54 Summary:        Efreet header files
55 Summary(pl.UTF-8):      Pliki nagłówkowe Efreet
56 Group:          Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58 # ecore-file
59 BuildRequires:  ecore-devel >= 0.9.9
60
61 %description devel
62 Header files for Efreet.
63
64 %description devel -l pl.UTF-8
65 Pliki nagłówkowe Efreet.
66
67 %package static
68 Summary:        Static Efreet library
69 Summary(pl.UTF-8):      Statyczna biblioteka Efreet
70 Group:          Development/Libraries
71 Requires:       %{name}-devel = %{version}-%{release}
72
73 %description static
74 Static Efreet library.
75
76 %description static -l pl.UTF-8
77 Statyczna biblioteka Efreet.
78
79 %prep
80 %setup -q
81
82 sed -i -e 's/-g -O0//' src/lib/Makefile.am
83
84 %build
85 %{__libtoolize}
86 %{__aclocal} -I m4
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         %{!?with_static_libs:--disable-static}
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 # just tests
101 rm $RPM_BUILD_ROOT%{_bindir}/efreet_{alloc,menu_alloc,test,spec_test,cache_test}
102 rm $RPM_BUILD_ROOT%{_bindir}/{ecore_alloc,compare_results}
103 rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/test
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files
112 %defattr(644,root,root,755)
113 %doc AUTHORS COPYING README TODO
114 %attr(755,root,root) %{_libdir}/libefreet.so.*.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/efreet-config
119 %attr(755,root,root) %{_libdir}/libefreet.so
120 %{_libdir}/libefreet.la
121 %{_includedir}/efreet
122 %{_pkgconfigdir}/efreet.pc
123
124 %if %{with static_libs}
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libefreet.a
128 %endif
This page took 0.031832 seconds and 4 git commands to generate.