[embryo] Update spec file, split into devel subpackage

Dan Mashal vicodan at fedoraproject.org
Sat Aug 24 06:44:59 UTC 2013


commit 469e0eafaccf31300d04968c225036ce1216844a
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date:   Fri Aug 23 23:44:36 2013 -0700

    Update spec file, split into devel subpackage

 embryo.spec |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/embryo.spec b/embryo.spec
index 9ae49e7..50c3202 100644
--- a/embryo.spec
+++ b/embryo.spec
@@ -1,6 +1,6 @@
 Name:           embryo
 Version:        1.7.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Shared libraries for Enlightenment
 License:        BSD and GPLv2+
 URL:            http://www.enlightenment.org
@@ -14,6 +14,16 @@ BuildRequires: libeina-devel
 %description
 Small Pawn based virtual machine and compiler.
 
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+
+%description devel
+Headers, test programs and documentation for %{name}
+
+
 %prep
 %setup -q
 
@@ -33,12 +43,19 @@ find %{buildroot} -name '*.a' -exec rm -rf {} ';'
 %files
 %doc AUTHORS COPYING README NEWS
 %{_bindir}/embryo_cc
-%{_libdir}/libembryo*
-%{_datadir}/embryo
-%{_includedir}/embryo-1
-%{_libdir}/pkgconfig/e*.pc
+%{_libdir}/libembryo.so.1
+%{_libdir}/libembryo.so.1.7.8
+   
+%files devel
+%{_includedir}/embryo-1/Embryo.h
+%{_libdir}/libembryo.so
+%{_libdir}/pkgconfig/embryo.pc
+%{_datadir}/embryo/include/default.inc
 
 %changelog
+* Sun Aug 18 2013 Dan Mashal <dan.mashal at fedoraproject.org> 1.7.8-3
+- Create devel subpackage and put devel files where they belong.
+
 * Sun Aug 18 2013 Dan Mashal <dan.mashal at fedoraproject.org> 1.7.8-2
 - Bump release version
 


More information about the scm-commits mailing list