rpms/ethos/F-12 ethos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Robinson pbrobinson at fedoraproject.org
Thu Jan 14 23:15:45 UTC 2010


Author: pbrobinson

Update of /cvs/pkgs/rpms/ethos/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23702

Modified Files:
	.cvsignore sources 
Added Files:
	ethos.spec 
Log Message:
- initial import for F-12


--- NEW FILE ethos.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}

Name:           ethos
Version:        0.2.2
Release:        4%{?dist}
Summary:        Plugin framework for GLib

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://git.dronelabs.com/ethos/about/
Source0:        http://ftp.dronelabs.com/sources/ethos/0.2/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: gtk2-devel
BuildRequires: gjs-devel
BuildRequires: python-devel
BuildRequires: pygtk2-devel
BuildRequires: vala-devel
BuildRequires: vala-tools

%description
Ethos is a plugin framework that is written in C using the GLib and GObject 
libraries. The goal is to have a single framework for applications that lower 
the barrier to entry for extensions. To enable as many communities as possible, 
various language bindings are provided to allow extensions in the language of 
choice.

Ethos includes a GUI library as well named libethos-ui. This library provides 
a gtk+ widget for managing plugins within your application. Typically, you can 
simply add this to a "Plugins" tab in your applications preferences dialog.

%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: gobject-introspection-devel

%description devel
Files for development with %{name}.

%package docs
Summary: Documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk-doc
BuildArch: noarch

%description docs
Documentation for development with %{name}.

%package python
Summary: Python bindings for %{name}
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
Requires: gnome-python2
Requires: pygtk2

%description python
Python bindings for development with %{name}.

%package vala
Summary: Vala bindings for %{name}
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
Requires: vala
BuildArch: noarch

%description vala
Vala bindings for development with %{name}.

%prep
%setup -q

%build
%configure --disable-static --enable-introspection --enable-python

# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags} V=1

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'

#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'

%find_lang %{name}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING AUTHORS README NEWS
%{_libdir}/libethos*.so.*
%dir %{_libdir}/ethos
%dir %{_libdir}/ethos/plugin-loaders
%{_libdir}/ethos/plugin-loaders/libcloader.so.*
%{_libdir}/ethos/plugin-loaders/libjsloader.so.*
%{_libdir}/girepository-1.0/Ethos-1.0.typelib
%{_datadir}/ethos

%files devel
%defattr(-,root,root,-)
%{_includedir}/ethos-1.0
%{_libdir}/ethos/plugin-loaders/lib*.so
%{_libdir}/pkgconfig/ethos*1.0.pc
%{_libdir}/*.so
%{_datadir}/gir-1.0/Ethos-1.0.gir

%files docs
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/ethos

%files python
%defattr(-,root,root,-)
%{_libdir}/ethos/plugin-loaders/libpythonloader.so.*
%{_datadir}/pygtk/2.0/defs/ethos*
%{python_sitearch}/gtk-2.0/ethos
%{python_sitearch}/gtk-2.0/_ethos*

%files vala
%defattr(-,root,root,-)
%{_datadir}/vala/vapi/ethos-1.0.vapi
%{_datadir}/vala/vapi/ethos-ui-1.0.vapi

%changelog
* Sat Jan  9 2010 Peter Robinson <pbrobinson at gmail.com> 0.2.2-4
- Review updates

* Mon Dec 28 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.2-3
- Update bindings group

* Thu Dec 17 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.2-2
- Fix license

* Thu Nov 26 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.2-1
- Update to 0.2.2 final release

* Fri Oct 16 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.2-0.1
- Initial packaging of 0.2.2 snapshot


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ethos/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	14 Jan 2010 22:54:02 -0000	1.1
+++ .cvsignore	14 Jan 2010 23:15:45 -0000	1.2
@@ -0,0 +1 @@
+ethos-0.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ethos/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	14 Jan 2010 22:54:02 -0000	1.1
+++ sources	14 Jan 2010 23:15:45 -0000	1.2
@@ -0,0 +1 @@
+36cf1ef444a224556bba4d441c400300  ethos-0.2.2.tar.gz



More information about the scm-commits mailing list