]> git.pld-linux.org Git - packages/etk.git/blob - etk.spec
ad3dac2b5abb7d0694eb8fdbd3fccf4ed68cb092
[packages/etk.git] / etk.spec
1 #
2 %define         ecore_ver       0.9.9.043
3 %define         edje_ver        0.9.9.043
4 %define         evas_ver        0.9.9.043
5
6 Summary:        Toolkit based on the EFL
7 Summary(pl.UTF-8):      Toolkit oparty na EFL
8 Name:           etk
9 Version:        0.1.0.042
10 Release:        1
11 License:        BSD
12 Group:          Libraries
13 Source0:        http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2
14 # Source0-md5:  6c1f4c204f2227476cb232127156113f
15 URL:            http://enlightenment.org/p.php?p=about/libs/etk
16 BuildRequires:  autoconf >= 2.52
17 BuildRequires:  automake >= 1.6
18 # ecore-file ecore-x ecore-fb
19 BuildRequires:  ecore-devel >= %{ecore_ver}
20 BuildRequires:  edje >= %{edje_ver}
21 BuildRequires:  edje-devel >= %{edje_ver}
22 BuildRequires:  evas-devel >= %{evas_ver}
23 BuildRequires:  gettext-devel >= 0.14.1
24 BuildRequires:  libtool
25 BuildRequires:  pkgconfig
26 Requires:       %{name}-libs = %{version}-%{release}
27 Requires:       fonts-TTF-bitstream-vera
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Enlightenment Foundations Library based toolkit.
32
33 %description -l pl.UTF-8
34 Toolkit oparty na EFL (Enlightenment Foundations Library).
35
36 %package libs
37 Summary:        EFL toolkit library
38 Summary(pl.UTF-8):      Biblioteka toolkitu EFL.
39 Group:          Libraries
40 Requires:       ecore-fb >= %{ecore_ver}
41 Requires:       ecore-file >= %{ecore_ver}
42 Requires:       ecore-x >= %{ecore_ver}
43 Requires:       edje-libs >= %{edje_ver}
44 Requires:       evas >= %{evas_ver}
45 Conflicts:      etk < 0.1.0.003
46
47 %description libs
48 Enlightenment Foundations Library based toolkit library.
49
50 %description libs -l pl.UTF-8
51 Biblioteka toolkitu opartego na EFL (Enlightenment Foundations
52 Library).
53
54 %package devel
55 Summary:        Header files for etk library
56 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki etk
57 Group:          Development/Libraries
58 Requires:       %{name}-libs = %{version}-%{release}
59 # ecore-file ecore-x ecore-fb
60 Requires:       ecore-devel >= %{ecore_ver}
61 Requires:       edje-devel >= %{edje_ver}
62 Requires:       evas-devel >= %{evas_ver}
63
64 %description devel
65 This is the package containing the header files for etk library.
66
67 %description devel -l pl.UTF-8
68 Ten pakiet zawiera pliki nagłówkowe biblioteki etk.
69
70 %package static
71 Summary:        Static etk library
72 Summary(pl.UTF-8):      Statyczna biblioteka etk
73 Group:          Development/Libraries
74 Requires:       %{name}-devel = %{version}-%{release}
75
76 %description static
77 Static etk library.
78
79 %description static -l pl.UTF-8
80 Statyczna biblioteka etk.
81
82 %prep
83 %setup -q
84
85 %build
86 %{__libtoolize}
87 %{__aclocal} -I m4
88 %{__autoconf}
89 %{__autoheader}
90 %{__automake}
91 %configure
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
101 VERA=$(ls Vera*.ttf)
102 for FONT in $VERA; do
103         rm -f $FONT
104         ln -s %{_fontsdir}/TTF/$FONT .
105 done
106 cd -
107
108 rm -f $RPM_BUILD_ROOT%{_libdir}/etk/engines/*.{la,a}
109
110 %find_lang %{name}
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post   libs -p /sbin/ldconfig
116 %postun libs -p /sbin/ldconfig
117
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS COPYING README TODO
121 %attr(755,root,root) %{_bindir}/etk_prefs
122 %attr(755,root,root) %{_bindir}/etk_test
123 %{_datadir}/%{name}
124
125 %files libs
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libetk.so.*.*.*
128 %attr(755,root,root) %ghost %{_libdir}/libetk.so.1
129 %dir %{_libdir}/etk
130 %dir %{_libdir}/etk/engines
131 %attr(755,root,root) %{_libdir}/etk/engines/ecore_*.so
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libetk.so
136 %{_libdir}/libetk.la
137 %{_includedir}/etk
138 %{_includedir}/Etk_Engine_Ecore_*.h
139 %{_pkgconfigdir}/etk.pc
140
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/libetk.a
This page took 0.055173 seconds and 2 git commands to generate.