This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "roboptim-core-plugin-ipopt".

The branch, master has been updated
       via  1ad8ad98472632730398108b93a1d27e84ea47fc (commit)
      from  9aab3c5112f63480f06f5da0a807892c91241c61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1ad8ad98472632730398108b93a1d27e84ea47fc
Author: Thomas Moulard <thomas.moul...@gmail.com>
Date:   Mon Mar 1 12:58:34 2010 +0100

    Add rpm SPEC file.
    
        * Makefile.am: Enable rpm rules.
        * roboptim-core-ipopt-plugin.spec.in: New.
    
    Signed-off-by: Thomas Moulard <thomas.moul...@gmail.com>

diff --git a/ChangeLog b/ChangeLog
index 359c122..c9294a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-03-01  Thomas Moulard  <thomas.moul...@gmail.com>
 
+       Add rpm SPEC file.
+       * Makefile.am: Enable rpm rules.
+       * roboptim-core-ipopt-plugin.spec.in: New.
+
+2010-03-01  Thomas Moulard  <thomas.moul...@gmail.com>
+
        Update documentation.
        * .gitmodules: Remove old doc submodule.
        * doc/Doxyfile.extra.in: New.
diff --git a/Makefile.am b/Makefile.am
index fab1a06..e6b81a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ include $(top_srcdir)/build-aux/libtool.mk
 include $(top_srcdir)/build-aux/pkg-config.mk
 include $(top_srcdir)/build-aux/git-version-gen.mk
 
-#include $(top_srcdir)/build-aux/rpm.mk
+include $(top_srcdir)/build-aux/rpm.mk
 
 
 SF_PROJECT_ID=roboptim
diff --git a/roboptim-core-ipopt-plugin.spec.in 
b/roboptim-core-ipopt-plugin.spec.in
new file mode 100644
index 0000000..fd342c3
--- /dev/null
+++ b/roboptim-core-ipopt-plugin.spec.in
@@ -0,0 +1,77 @@
+Name: @PACKAGE_TARNAME@
+Version: @PACKAGE_VERSION@
+Release: 1%{?dist}
+Summary: The Ipopt plug-in for RobOptim
+
+Group: Development/Libraries
+License: LGPLv3+
+URL: http://roboptim.sourceforge.net/
+Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: roboptim-core-devel, boost-devel, libtool-ltdl-devel, doxygen
+# Not yet packaged: ipopt-devel
+
+%description
+Provide a plug-in to enable the use of Ipopt as a RobOptim back-end
+
+%package devel
+Summary: The roboptim-core-ipopt-plugin headers and development-related files
+Group: Development/Libraries
+Requires: @PACKAGE_TARNAME@ = %{version}-%{release}
+%description devel
+Headers and shared object symlinks for the RobOptim Ipopt plug-in
+
+
+%package doc
+Summary: API documentation
+Group: Documentation
+Requires: @PACKAGE_TARNAME@ = %{version}-%{release}
+%description doc
+Documentation for the RobOptim Ipopt plug-in
+
+
+
+
+
+%prep
+%setup -q
+
+%build
+%configure --docdir=%{_datadir}/doc/%{name}-%{version} --disable-static
+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}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Get rid of Libtool files as they should not be installed.
+rm $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+
+%files doc
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README NEWS
+%{_datadir}/doc/%{name}-%{version}/*
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%changelog
+* Thu Mar 01 2010 Thomas Moulard <thomas.moul...@gmail.com> - 0.2-1
+- initial work

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |    6 +++
 Makefile.am                        |    2 +-
 roboptim-core-ipopt-plugin.spec.in |   77 ++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+), 1 deletions(-)
 create mode 100644 roboptim-core-ipopt-plugin.spec.in


hooks/post-receive
-- 
roboptim-core-plugin-ipopt

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
roboptim-commit mailing list
roboptim-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/roboptim-commit

Reply via email to