]>
Commit | Line | Data |
---|---|---|
479803d0 | 1 | # Conditional build: |
2 | %bcond_without static_libs # don't build static library | |
3 | ||
479803d0 | 4 | %define svn -ver-svn-06 |
5 | Summary: Basic widget set | |
6 | Summary(pl.UTF-8): Zestaw prostych widżetów | |
7 | Name: elementary | |
8 | Version: 0.7.0.49898 | |
9 | Release: 0.1 | |
10 | License: LGPL v2.1 | |
11 | Group: Libraries | |
878e6b3a | 12 | Source0: http://download.enlightenment.org/snapshots/LATEST/%{name}-%{version}.tar.bz2 |
479803d0 | 13 | # Source0-md5: e388b8bfb1e09982dd881a075870b914 |
14 | URL: http://enlightenment.org/p.php?p=about/libs/eina | |
15 | Requires: %{name}-libs = %{version}-%{release} | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Elementary - a basic widget set that is easy to use based on EFL for mobile | |
20 | touch-screen devices. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Elementary - zestaw prostych, łatwych w użyciu widżetów oparty na EFL | |
24 | dla urządzeń mobilnych. | |
25 | ||
26 | %package devel | |
27 | Summary: Elementary header files | |
28 | Summary(pl.UTF-8): Pliki nagłówkowe Elementary | |
29 | Group: Development/Libraries | |
30 | Requires: %{name}-libs = %{version}-%{release} | |
31 | ||
32 | %description devel | |
33 | Header files for Elementary. | |
34 | ||
35 | %description devel -l pl.UTF-8 | |
36 | Pliki nagłówkowe Elementary. | |
37 | ||
38 | %package libs | |
39 | Summary: Elementary library | |
40 | Summary(pl.UTF-8): Bilblioteka Elementary | |
41 | Group: Libraries | |
42 | ||
43 | %description libs | |
44 | Elementary library files. | |
45 | ||
46 | %description libs -l pl.UTF-8 | |
47 | Biblioteka Elementary. | |
48 | ||
49 | %package static | |
50 | Summary: Static Elementary library | |
51 | Summary(pl.UTF-8): Statyczna biblioteka Elementary | |
52 | Group: Development/Libraries | |
53 | Requires: %{name}-devel = %{version}-%{release} | |
54 | ||
55 | %description static | |
56 | Static Elementary library. | |
57 | ||
58 | %description static -l pl.UTF-8 | |
59 | Statyczna biblioteka Elementary. | |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | ||
64 | %build | |
65 | rm -rf autom4te.cache | |
66 | rm -f aclocal.m4 ltmain.sh | |
67 | %{__libtoolize} | |
68 | %{__aclocal} -I m4 | |
69 | %{__autoconf} | |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %configure \ | |
73 | %{?with_static_libs:--enable-static} | |
74 | ||
75 | %{__make} V=1 | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS | |
92 | %attr(755,root,root) %{_bindir}/elementary_config | |
93 | %attr(755,root,root) %{_bindir}/elementary_quicklaunch | |
94 | %attr(755,root,root) %{_bindir}/elementary_run | |
95 | %attr(755,root,root) %{_bindir}/elementary_test | |
96 | %attr(755,root,root) %{_bindir}/elementary_testql | |
97 | %{_datadir}/applications/elementary_config.desktop | |
98 | %{_datadir}/applications/elementary_test.desktop | |
99 | %{_datadir}/elementary | |
100 | %{_iconsdir}/elementary.png | |
101 | ||
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
104 | %{_includedir}/Elementary.h | |
105 | %dir %{_includedir}/elementary | |
106 | %{_includedir}/elementary/elementary_config.h | |
107 | %{_libdir}/edje/elm.la | |
108 | %{_libdir}/elementary/modules/test_entry/linux-gnu-i686-ver-svn-06/module.la | |
109 | %{_libdir}/elementary_testql.la | |
110 | %{_libdir}/libelementary.la | |
111 | %{_libdir}/libelementary.so | |
112 | %{_pkgconfigdir}/elementary.pc | |
113 | ||
114 | %files libs | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,roo) %{_libdir}/edje/elm.so | |
117 | %dir %{_libdir}/elementary | |
118 | %dir %{_libdir}/elementary/modules | |
119 | %dir %{_libdir}/elementary/modules/test_entry | |
120 | %dir %{_libdir}/elementary/modules/test_entry/linux-gnu-* | |
121 | %attr(755,root,root) %{_libdir}/elementary/modules/test_entry/linux-gnu-*%{svn}/module.so | |
122 | %attr(755,root,root) %{_libdir}/elementary_testql.so | |
123 | %attr(755,root,root) %{_libdir}/libelementary%{svn}.so.0.7.0 | |
124 | %attr(755,root,root) %ghost %{_libdir}/libelementary%{svn}.so.0 | |
125 | ||
126 | %if %{with static_libs} | |
127 | %files static | |
128 | %{_libdir}/elementary_testql.a | |
129 | %{_libdir}/libelementary.a | |
130 | %defattr(644,root,root,755) | |
131 | %endif |