diff options
author | Rui Seabra <rms@1407.org> | 2012-10-14 16:38:23 +0000 |
---|---|---|
committer | Rui Seabra <rms@1407.org> | 2012-10-14 16:38:23 +0000 |
commit | 15c6256284e0b36793acc53d6cbec31385ffe987 (patch) | |
tree | 43a051235f426b9266882dfceed6c3cc4fb78ce5 /legacy/eobj | |
parent | 2c4cd5909a7283d603a9237d3de919ba33e8222c (diff) |
Initial rpm spec support.
SVN revision: 77966
Diffstat (limited to 'legacy/eobj')
-rw-r--r-- | legacy/eobj/Makefile.am | 1 | ||||
-rw-r--r-- | legacy/eobj/configure.ac | 1 | ||||
-rw-r--r-- | legacy/eobj/eo.spec.in | 60 |
3 files changed, 62 insertions, 0 deletions
diff --git a/legacy/eobj/Makefile.am b/legacy/eobj/Makefile.am index 2ac5c2b2f8..b98c8082b8 100644 --- a/legacy/eobj/Makefile.am +++ b/legacy/eobj/Makefile.am | |||
@@ -35,6 +35,7 @@ COPYING \ | |||
35 | README \ | 35 | README \ |
36 | autogen.sh \ | 36 | autogen.sh \ |
37 | eo.pc.in \ | 37 | eo.pc.in \ |
38 | eo.spec \ | ||
38 | m4/efl_doxygen.m4 | 39 | m4/efl_doxygen.m4 |
39 | 40 | ||
40 | .PHONY: doc benchmark examples | 41 | .PHONY: doc benchmark examples |
diff --git a/legacy/eobj/configure.ac b/legacy/eobj/configure.ac index 14afbb6479..63bda99cc2 100644 --- a/legacy/eobj/configure.ac +++ b/legacy/eobj/configure.ac | |||
@@ -175,6 +175,7 @@ AC_SUBST([requirements_pc_eo]) | |||
175 | AC_CONFIG_FILES([ | 175 | AC_CONFIG_FILES([ |
176 | Makefile | 176 | Makefile |
177 | eo.pc | 177 | eo.pc |
178 | eo.spec | ||
178 | doc/Doxyfile | 179 | doc/Doxyfile |
179 | doc/Makefile | 180 | doc/Makefile |
180 | src/Makefile | 181 | src/Makefile |
diff --git a/legacy/eobj/eo.spec.in b/legacy/eobj/eo.spec.in new file mode 100644 index 0000000000..6d2c8dc041 --- /dev/null +++ b/legacy/eobj/eo.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: Object Type Library | ||
5 | Name: @PACKAGE@ | ||
6 | Version: @VERSION@ | ||
7 | Release: %{_rel} | ||
8 | License: BSD | ||
9 | Group: System Environment/Libraries | ||
10 | Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz | ||
11 | Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Seabra <rms@1407.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 | Eo is an object type library. | ||
19 | |||
20 | %package devel | ||
21 | Summary: Eo 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 Eo | ||
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 | ||