]>
Commit | Line | Data |
---|---|---|
677ccd43 JB |
1 | Summary: FusionDale - applied Fusion, collection of services for applications |
2 | Summary(pl.UTF-8): FusionDale, czyli Fusion stosowany - zbiór usług dla aplikacji | |
3 | Name: FusionDale | |
4 | Version: 0.8.1 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://www.directfb.org/downloads/Libs/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 74c0b7e6a11e9e2f81b4d5d50095859b | |
10 | URL: http://www.directfb.org/index.php?path=Platform/FusionDale | |
11 | BuildRequires: DirectFB-devel >= 1:1.1.0 | |
12 | BuildRequires: autoconf >= 2.52 | |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRequires: pkgconfig >= 1:0.9 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | FusionDale is applied Fusion and will be a collection of different | |
20 | services for use by applications and other libraries (like Coma | |
21 | component manager or messaging API). | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | FusionDale to Fusion stosowany, biblioteka mająca być zbiorem różnych | |
25 | usług przeznaczonych do wykorzystywania przez aplikacje i inne | |
26 | biblioteki (takich jak zarządca komponentów Coma czy API do | |
27 | komunikacji). | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for the FusionDale | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe dla FusionDale | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: DirectFB-devel >= 1:1.1.0 | |
35 | ||
36 | %description devel | |
37 | Header files required for development using FusionDale. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe wymagane do tworzenia programów z użyciem | |
41 | FusionDale. | |
42 | ||
43 | %package static | |
44 | Summary: Static FusionDale library | |
45 | Summary(pl.UTF-8): Statyczna biblioteka FusionDale | |
46 | Group: Development/Libraries | |
47 | Requires: %{name}-devel = %{version}-%{release} | |
48 | ||
49 | %description static | |
50 | Static FusionDale library. | |
51 | ||
52 | %description static -l pl.UTF-8 | |
53 | Statyczna biblioteka FusionDale. | |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | %{__libtoolize} | |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__autoheader} | |
63 | %{__automake} | |
64 | %configure \ | |
65 | --enable-static | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
75 | install examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post -p /sbin/ldconfig | |
81 | %postun -p /sbin/ldconfig | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog README docs/html/[!M]* | |
86 | %attr(755,root,root) %{_bindir}/fddump | |
87 | %attr(755,root,root) %{_bindir}/fdmaster | |
88 | %attr(755,root,root) %{_libdir}/libfusiondale-0.8.so.*.*.* | |
89 | %attr(755,root,root) %ghost %{_libdir}/libfusiondale-0.8.so.1 | |
90 | ||
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
93 | %attr(755,root,root) %{_libdir}/libfusiondale.so | |
94 | %{_libdir}/libfusiondale.la | |
95 | %{_includedir}/fusiondale | |
96 | %{_pkgconfigdir}/fusiondale.pc | |
97 | %{_examplesdir}/%{name}-%{version} | |
98 | ||
99 | %files static | |
100 | %defattr(644,root,root,755) | |
101 | %{_libdir}/libfusiondale.a |