summaryrefslogtreecommitdiff
path: root/legacy/ephysics/ephysics.spec.in
diff options
context:
space:
mode:
authorRui Seabra <rms@1407.org>2012-09-23 13:39:53 +0000
committerRui Seabra <rms@1407.org>2012-09-23 13:39:53 +0000
commit58f5ec5047fcc32540176c3d4f0f4e3b959fddea (patch)
tree63a47bf46dba8756fac562ac4996303ecdde2cfe /legacy/ephysics/ephysics.spec.in
parent6ac749104c0d34b40013e26243a4dfd75a153593 (diff)
Add rpm support
SVN revision: 77023
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/ephysics.spec.in66
1 files changed, 66 insertions, 0 deletions
diff --git a/legacy/ephysics/ephysics.spec.in b/legacy/ephysics/ephysics.spec.in
new file mode 100644
index 0000000000..0a18043f59
--- /dev/null
+++ b/legacy/ephysics/ephysics.spec.in
@@ -0,0 +1,66 @@
1%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
2%define _missing_doc_files_terminate_build 0
3
4Summary: ephysics library
5Name: @PACKAGE@
6Version: @VERSION@
7Release: %{_rel}
8License: MIT
9Group: System Environment/Libraries
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel 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
18EPhysics is a library that manages Ecore, Evas and Bullet Physics into
19an easy to use way. It's a kind of wrapper, a glue, between these libraries.
20It's not intended to be a physics library (we already have many out there).
21
22%package devel
23Summary: EPhysics headers, static libraries, documentation and test programs
24Group: System Environment/Libraries
25Requires: %{name} = %{version}
26
27%description devel
28Headers, static libraries, test programs and documentation for EPhysics
29
30%prep
31%setup -q
32
33%build
34%{configure} --prefix=%{_prefix}
35%{__make} %{?_smp_mflags} %{?mflags}
36
37%install
38%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
39
40%clean
41test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
42
43%post
44/sbin/ldconfig
45
46%postun
47/sbin/ldconfig
48
49%files
50%defattr(-, root, root)
51%doc AUTHORS COPYING README
52%{_bindir}/*
53%{_libdir}/*.so.*
54%dir %{_datadir}/ephysics/
55%{_datadir}/ephysics/*.edj
56%{_datadir}/ephysics/*.png
57
58%files devel
59%defattr(-, root, root)
60%{_includedir}/*
61%{_libdir}/*.a
62%{_libdir}/*.so
63%{_libdir}/*.la
64%{_libdir}/pkgconfig/*
65
66%changelog