summaryrefslogtreecommitdiff
path: root/legacy/eio/eio.spec.in
diff options
context:
space:
mode:
authorRui Seabra <rms@1407.org>2011-02-17 23:13:36 +0000
committerRui Seabra <rms@1407.org>2011-02-17 23:13:36 +0000
commit885c5ddcde9f31e0498889f4c065e7a8f395d644 (patch)
tree628ca9db85be0f69040ded7e6ce360bc6dfd8e76 /legacy/eio/eio.spec.in
parent12a4f056b36344986d6cbc3f97719fb31ca50c0c (diff)
Add rpm spec to eio and one more entry to svn:ignore.
SVN revision: 57140
Diffstat (limited to 'legacy/eio/eio.spec.in')
-rw-r--r--legacy/eio/eio.spec.in60
1 files changed, 60 insertions, 0 deletions
diff --git a/legacy/eio/eio.spec.in b/legacy/eio/eio.spec.in
new file mode 100644
index 0000000000..d5b0bf5b59
--- /dev/null
+++ b/legacy/eio/eio.spec.in
@@ -0,0 +1,60 @@
1%{!?_rel:%{expand:%%global _rel 0.r%(svnversion | sed 's/[^0-9].*$//' || echo 0000)}}
2%define _missing_doc_files_terminate_build 0
3
4Summary: Data Type Library
5Name: @PACKAGE@
6Version: @VERSION@
7Release: %{_rel}
8License: LGPLv2.1
9Group: System Environment/Libraries
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel Silva 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
18Enlightenment Input Output Library
19
20%package devel
21Summary: Eio 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 Eio
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