diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/eina/eina.spec.in | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libraries/eina/eina.spec.in b/libraries/eina/eina.spec.in new file mode 100644 index 0000000..3e526ad --- /dev/null +++ b/libraries/eina/eina.spec.in | |||
@@ -0,0 +1,60 @@ | |||
1 | %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} | ||
2 | %define _missing_doc_files_terminate_build 0 | ||
3 | |||
4 | Summary: Data Type Library | ||
5 | Name: @PACKAGE@ | ||
6 | Version: @VERSION@ | ||
7 | Release: %{_rel} | ||
8 | License: LGPLv2.1 | ||
9 | Group: System Environment/Libraries | ||
10 | Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz | ||
11 | Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} | ||
12 | Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} | ||
13 | Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} | ||
14 | URL: http://www.enlightenment.org/ | ||
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | ||
16 | |||
17 | %description | ||
18 | Eina is a data type library. | ||
19 | |||
20 | %package devel | ||
21 | Summary: Eina headers, static libraries, documentation and test programs | ||
22 | Group: System Environment/Libraries | ||
23 | Requires: %{name} = %{version} | ||
24 | |||
25 | %description devel | ||
26 | Headers, static libraries, test programs and documentation for Eina | ||
27 | |||
28 | %prep | ||
29 | %setup -q | ||
30 | |||
31 | %build | ||
32 | %{configure} --prefix=%{_prefix} | ||
33 | %{__make} %{?_smp_mflags} %{?mflags} | ||
34 | |||
35 | %install | ||
36 | %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install | ||
37 | |||
38 | %clean | ||
39 | test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT | ||
40 | |||
41 | %post | ||
42 | /sbin/ldconfig | ||
43 | |||
44 | %postun | ||
45 | /sbin/ldconfig | ||
46 | |||
47 | %files | ||
48 | %defattr(-, root, root) | ||
49 | %doc AUTHORS COPYING README | ||
50 | %{_libdir}/*.so.* | ||
51 | |||
52 | %files devel | ||
53 | %defattr(-, root, root) | ||
54 | %{_includedir}/* | ||
55 | %{_libdir}/*.a | ||
56 | %{_libdir}/*.so | ||
57 | %{_libdir}/*.la | ||
58 | %{_libdir}/pkgconfig/* | ||
59 | |||
60 | %changelog | ||