[Planner Dev] [PATCH] new spec file
- From: Nathan Bryant <nbryant allegientsystems com>
- To: planner-dev lists imendio com
- Subject: [Planner Dev] [PATCH] new spec file
- Date: Wed, 31 Mar 2004 15:38:38 -0500
I've built planner-0.11 RPM's for Fedora Core 1. Attached is the spec
file that I am using; note that it is not in planner.spec.in format but
should be easy to convert.
Share and enjoy,
Nathan Bryant
%define ver 0.11
%define name planner
Summary: A graphical project management tool.
Name: %name
Version: %ver
Release: imendio1
License: GPL
Group: Applications/Productivity
Url: http://planner.imendio.org/
Source: %{name}-%{ver}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Obsoletes: mrproject
Requires: gtk2 >= 2.0.3
Requires: libgnomeui >= 2.0.1
Requires: popt >= 1.5
Requires: libglade2 >= 2.0.0
Requires: planner-libs = %{ver}
Requires: gnome-vfs2 >= 2.0.2
Requires: libgnomeprintui22 >= 2.2.0
Requires: libxslt >= 1.0
PreReq: scrollkeeper >= 0.3.10
BuildRequires: gtk2-devel >= 2.0.3
BuildRequires: libgnomeui-devel >= 2.0.1
BuildRequires: libglade2-devel >= 2.0.0
BuildRequires: gnome-vfs2-devel >= 2.0.2
BuildRequires: libgnomeprintui22-devel >= 2.2.0
BuildRequires: libxslt-devel >= 1.0
BuildRequires: intltool
BuildRequires: libgsf-devel >= 1.4
%description
Planner is a visual project management application which allows users to
manage several aspects of a project, including schedule tracking using
Gantt charts.
You should install Planner if you wish to manage schedules, allocate
resources, and track the progress of your projects.
%package sql
Summary: Planner SQL plugin
Group: Applications/Productivity
Requires: %name = %{PACKAGE_VERSION}
Requires: postgresql-libs
BuildRequires: postgresql-devel
%description sql
SQL plugin for Planner, this plugin can be used to store projects in a PostgreSQL database.
%package libs
Summary: Support libraries for Planner
Group: System Environment/Libraries
Requires: %name = %{PACKAGE_VERSION}
Obsoletes: libmrproject
%description libs
A support library for accessing Planner data.
%package devel
Summary: Development files for Planner
Group: Development/Libraries
Requires: %name = %{PACKAGE_VERSION}
Obsoletes: libmrproject-devel
%description devel
Development headers / libtool library stubs for Planner (libplanner).
%prep
%setup -q
%build
intltoolize
%configure --disable-timetable --enable-postgres
make
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall MRP_PLUGINDIR=$RPM_BUILD_ROOT/%{_libdir}/planner/plugins MRP_VIEWDIR=$RPM_BUILD_ROOT/%{_libdir}/planner/views
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
rm -f $RPM_BUILD_ROOT%{_libdir}/planner/*/*la
rm -f $RPM_BUILD_ROOT%{_libdir}/planner/*la
desktop-file-install --vendor imendio --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Red-Hat-Base \
$RPM_BUILD_ROOT%{_datadir}/applications/planner.desktop
%find_lang %name
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
scrollkeeper-update
%postun
/sbin/ldconfig
scrollkeeper-update
%files -f %{name}.lang
%defattr(-, root, root)
%doc ChangeLog NEWS README COPYING
%{_bindir}/planner
%{_libdir}/planner
%{_datadir}/planner
%{_datadir}/application-registry/*
%{_datadir}/mime-info/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
%{_datadir}/gnome/help/planner/*
%{_datadir}/omf/planner/*
%exclude %{_libdir}/planner/plugins/libsql-plugin*
%exclude %{_datadir}/planner/glade/sql.glade
%exclude %{_datadir}/planner/ui/sql-plugin.ui
%files sql
%defattr(-,root,root)
%{_libdir}/planner/plugins/libsql-plugin*
%{_datadir}/planner/glade/sql.glade
%{_datadir}/planner/ui/sql-plugin.ui
%files libs
%defattr(-,root,root)
%{_libdir}/libplanner-1.so
%{_datadir}/locale/*
%files devel
%defattr(-,root,root)
%{_libdir}/libplanner-1.la
%{_libdir}/pkgconfig/libplanner-1.pc
%{_includedir}/planner-1.0
%changelog
* Wed Mar 31 2004 Nathan Bryant <nbryant optonline net>
- Redo spec file. libplanner is now included in the build, so name these packages planner-libs and
planner-libs-devel.
* Mon Dec 1 2003 Richard Hult <richard imendio com>
- Start over with a new spec file, needs a lot more work.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]