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