]>
Commit | Line | Data |
---|---|---|
a13a6142 JB |
1 | Summary: Etrophy - library to manage scores, trophies and unlockables |
2 | Summary(pl.UTF-8): Etrophy - biblioteka do zarządzania wynikami, trofeami i otwarciami | |
1aee8b00 JB |
3 | Name: etrophy |
4 | Version: 0.5.1 | |
2fab0e19 | 5 | Release: 3 |
1aee8b00 | 6 | License: BSD |
2fab0e19 | 7 | Group: Libraries |
1aee8b00 JB |
8 | Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: ed8aabe52b71e54db6f9104725e61645 | |
10 | URL: http://enlightenment.org/ | |
11 | BuildRequires: ecore-devel >= 1.7.0 | |
12 | BuildRequires: ecore-file-devel >= 1.7.0 | |
13 | BuildRequires: edje | |
14 | BuildRequires: eet-devel >= 1.7.0 | |
15 | BuildRequires: eina-devel >= 1.7.0 | |
16 | BuildRequires: elementary-devel >= 1.7.0 | |
17 | BuildRequires: evas-devel >= 1.7.0 | |
18 | BuildRequires: pkgconfig >= 1:0.22 | |
19 | BuildRequires: python >= 1:2.5 | |
20 | Requires: ecore >= 1.7.0 | |
21 | Requires: ecore-file >= 1.7.0 | |
22 | Requires: eet >= 1.7.0 | |
23 | Requires: eina >= 1.7.0 | |
ea03b1ff | 24 | Requires: elementary-libs >= 1.7.0 |
1aee8b00 JB |
25 | Requires: evas >= 1.7.0 |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Etrophy is a library that manages scores, trophies and unlockables. It | |
30 | will store them and provide views to display them. Could be used by | |
31 | games based on EFL. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Etrophy to biblioteka zarządzająca wynikami, trofeami i otwarciami. | |
35 | Może je przechowywać i udostępniać widoki do wyświetlania. Jest | |
36 | przeznaczona przede wszystkim dla gier opartych na EFL. | |
37 | ||
38 | %package devel | |
39 | Summary: Header files for Etrophy library | |
40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Etrophy | |
41 | Group: Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | Requires: ecore-devel >= 1.7.0 | |
44 | Requires: ecore-file-devel >= 1.7.0 | |
45 | Requires: eet-devel >= 1.7.0 | |
46 | Requires: eina-devel >= 1.7.0 | |
47 | Requires: elementary-devel >= 1.7.0 | |
48 | Requires: evas-devel >= 1.7.0 | |
49 | ||
50 | %description devel | |
51 | Header files for Etrophy library. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki nagłówkowe biblioteki Etrophy. | |
55 | ||
56 | %package static | |
57 | Summary: Static Etrophy library | |
58 | Summary(pl.UTF-8): Statyczna biblioteka Etrophy | |
59 | Group: Development/Libraries | |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
63 | Static Etrophy library. | |
64 | ||
65 | %description static -l pl.UTF-8 | |
66 | Statyczna biblioteka Etrophy. | |
67 | ||
68 | %prep | |
69 | %setup -q | |
70 | ||
71 | %build | |
72 | %configure \ | |
73 | --disable-silent-rules | |
74 | ||
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | # obsoleted by pkg-config | |
84 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libetrophy.la | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc AUTHORS COPYING ChangeLog NEWS README TODO | |
95 | %attr(755,root,root) %{_libdir}/libetrophy.so.*.*.* | |
96 | %attr(755,root,root) %ghost %{_libdir}/libetrophy.so.0 | |
97 | %{_datadir}/etrophy | |
98 | ||
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
101 | %attr(755,root,root) %{_libdir}/libetrophy.so | |
102 | %{_includedir}/etrophy-0 | |
103 | %{_pkgconfigdir}/etrophy.pc | |
104 | ||
105 | %files static | |
106 | %defattr(644,root,root,755) | |
107 | %{_libdir}/libetrophy.a |