summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorRui Seabra <rms@1407.org>2012-10-14 16:38:23 +0000
committerRui Seabra <rms@1407.org>2012-10-14 16:38:23 +0000
commit15c6256284e0b36793acc53d6cbec31385ffe987 (patch)
tree43a051235f426b9266882dfceed6c3cc4fb78ce5 /legacy/eobj
parent2c4cd5909a7283d603a9237d3de919ba33e8222c (diff)
Initial rpm spec support.
SVN revision: 77966
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/Makefile.am1
-rw-r--r--legacy/eobj/configure.ac1
-rw-r--r--legacy/eobj/eo.spec.in60
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 \
35README \ 35README \
36autogen.sh \ 36autogen.sh \
37eo.pc.in \ 37eo.pc.in \
38eo.spec \
38m4/efl_doxygen.m4 39m4/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])
175AC_CONFIG_FILES([ 175AC_CONFIG_FILES([
176Makefile 176Makefile
177eo.pc 177eo.pc
178eo.spec
178doc/Doxyfile 179doc/Doxyfile
179doc/Makefile 180doc/Makefile
180src/Makefile 181src/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
4Summary: Object Type Library
5Name: @PACKAGE@
6Version: @VERSION@
7Release: %{_rel}
8License: BSD
9Group: System Environment/Libraries
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Seabra <rms@1407.org>}
12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14URL: http://www.enlightenment.org/
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17%description
18Eo is an object type library.
19
20%package devel
21Summary: Eo headers, static libraries, documentation and test programs
22Group: System Environment/Libraries
23Requires: %{name} = %{version}
24
25%description devel
26Headers, 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
39test "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