rpms/frepple/devel frepple.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Johan De Taeye jdetaeye at fedoraproject.org
Fri Sep 25 15:01:56 UTC 2009


Author: jdetaeye

Update of /cvs/pkgs/rpms/frepple/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8435/devel

Modified Files:
	.cvsignore sources 
Added Files:
	frepple.spec import.log 
Log Message:



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

Summary: Free Production Planning Library
Name: frepple
Version: 0.7.1
Release: 1%{?dist}
# Note on the license: frePPle is released with the LGPL license, version 2.1 or higher. 
# The optional plugin module mod_lpsolver depends on the GLPK package which is 
# licensed under GPL. That module is therefore disabled in this build.
License: LGPLv2+
Group: Applications/Productivity
URL: http://www.frepple.com
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-XXXXXX)
Requires: xerces-c, Django
BuildRequires: doxygen, python-devel, xerces-c-devel, Django

%description
FrePPLe stands for "Free Production Planning Library". It is a toolkit/
framework for modeling and solving production planning problems, targeted
primarily at discrete manufacturing industries.

%package devel
Summary: The libraries and header files needed for frePPLe development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
These are the libraries and header files need for developing plug-ins and
extensions of frePPLe - the Free Production Planning Library.

%package doc
Summary: Documentation subpackage for frePPLe
Group: Documentation
Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch
%endif

%description doc
Documentation subpackage for frePPLe - the Free Production Planning Library.

%prep
%setup -q

%build
# Temporary patch to the makefile that runs the test suite. Will be removed with the next upstream release.
sed -i 's|./runtest.py|./runtest.py ${TESTARGS}|g' test/Makefile.in
# Configure
%configure \
  --disable-static \
  --disable-dependency-tracking \
  --enable-doc \
  --enable-forecast \
  --disable-lp_solver \
  --disable-webservice 
# Remove rpath from libtool
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
# Avoid linking against unused libraries
sed -i -e 's| -shared | -Wl,--as-needed\0|g' libtool
# Compile
make %{?_smp_mflags} all

%check
# Run test suite, skipping some long and less interesting tests
TESTARGS="-e xml_remote -e scalability_1 -e scalability_2 -e scalability_3 -e jobshop"
export TESTARGS
make check

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} 
# Do not package .la files created by libtool
find %{buildroot} -name '*.la' -exec rm {} \;
# Use %doc instead of install to create the documentation
rm -rf %{buildroot}%{_docdir}/%{name}
# Language files; not under /usr/share, need to be handled manually
(cd $RPM_BUILD_ROOT && find . -name 'django*.mo') | %{__sed} -e 's|^.||' | %{__sed} -e \
  's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
  >> %{name}.lang

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/frepple
%dir %{_libdir}/frepple
%{_libdir}/frepple/mod_forecast.so
%{_libdir}/libfrepple.so.0
%{_libdir}/libfrepple.so.0.0.0
%dir %{_datadir}/frepple
%{_datadir}/frepple/*.xsd
%{_datadir}/frepple/*.xml
%{_datadir}/frepple/*.py*
%{_mandir}/man1/frepple.1.*
%attr(0755,root,root) %{python_sitelib}/freppledb/manage.py
%{python_sitelib}/freppledb*
%doc COPYING 

%files devel
%defattr(-,root,root,-)
%{_libdir}/libfrepple.so
%dir %{_includedir}/frepple
%{_includedir}/frepple/*
%{_includedir}/frepple.h
%{_includedir}/freppleinterface.h

%files doc
%defattr(-,root,root,-)
%doc doc/reference doc/*.pdf doc/favicon.ico doc/*.html doc/*.css doc/*.gif doc/*.bmp

%changelog
* Tue Aug 11 2009 Johan De Taeye <jdetaeye at users.sourceforge.net> 0.7.1-1
- Package submitted for review and initial build.



--- NEW FILE import.log ---
frepple-0_7_1-1_fc11:HEAD:frepple-0.7.1-1.fc11.src.rpm:1253890871


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/frepple/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Sep 2009 16:28:13 -0000	1.1
+++ .cvsignore	25 Sep 2009 15:01:56 -0000	1.2
@@ -0,0 +1 @@
+frepple-0.7.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/frepple/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Sep 2009 16:28:13 -0000	1.1
+++ sources	25 Sep 2009 15:01:56 -0000	1.2
@@ -0,0 +1 @@
+57edad98fd4a49f114c576f5ac10a382  frepple-0.7.1.tar.gz




More information about the scm-commits mailing list