X-Git-Url: http://git.pld-linux.org/?p=packages%2FToutDoux.git;a=blobdiff_plain;f=ToutDoux.spec;h=8030faadcaf44f7d23ccb408bd242803033df6c9;hp=3637351324ea52b6d1b5a94493ea94065d7d3675;hb=9db2ba0456b17598e82d879d554960727b90d675;hpb=d56dbfa40a5a92028665a2cc92a0067f1f5f80f5 diff --git a/ToutDoux.spec b/ToutDoux.spec index 3637351..8030faa 100644 --- a/ToutDoux.spec +++ b/ToutDoux.spec @@ -1,45 +1,77 @@ -Summary: ToutDoux is a small project manager (for GNOME) +Summary: Project manager +Summary(pl): Zarz±dca projektów Name: ToutDoux -Version: 1.2.1 +Version: 1.2.6 Release: 2 License: GPL -Group: Networking -Group(pl): Sieciowe -Source0: http://altern.org/toutdoux/dl/%{name}-%{version}.tar.gz -URL: http://altern.org/toutdoux/en/ -BuildRequires: postgresql-devel >= 7.0 +Group: Applications/Databases +Group(pl): Aplikacje/Bazy danych +Source0: http://toutdoux.sourceforge.net/pub/toutdoux/%{name}-%{version}.tar.gz +Patch0: %{name}-xml.patch +URL: http://toutdoux.sourceforge.net/ +BuildRequires: gtk+-devel >= 1.2.0 +BuildRequires: XFree86-devel BuildRequires: gnome-libs-devel -BuildRequires: gtk+-devel -BuildRequires: gettext-devel +BuildRequires: gtk+-devel >= 1.2.0 +BuildRequires: glib-devel >= 1.2.0 BuildRequires: libxml-devel -BuildRequires: automake +BuildRequires: gdk-pixbuf-devel >= 0.9.0 +BuildRequires: postgresql-devel >= 7.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man %description -ToutDoux is a small project manager (for GNOME). +ToutDoux is a project manager which permits management with different +views (based on plugins). For example, you can design a plan of +actions using a tree structure. %description -l pl -ToutDoux jest ma³ym mened¿erem projektów dla GNOME. +ToutDout jest programem do zarz±dzania projektami pozwalaj±cym na +uwzglêdnianie ró¿nych punktów widzenia (bazuj±c na pluginach). Mo¿esz +np. projektowaæ plan zadañ u¿ywaj±c struktury drzewiastej. %package devel -Summary: ToutDoux header files -Group: X11/Libraries -Group(pl): X11/Biblioteki +Summary: %{name} libraries, includes, etc +Summary(pl): %{name} - pliki nag³ówkowe, etc +Group: X11/Development/Libraries +Group(de): X11/Entwicklung/Libraries +Group(pl): X11/Programowanie/Biblioteki Requires: %{name} = %{version} %description devel -ToutDoux header files. +Header files for %{name}. + +%description -l pl devel +Pliki nag³ówkowe etc do %{name}. + +%package static +Summary: %{name} static libraries +Summary(pl): Biblioteki statyczne hOpla +Group: X11/Development/Libraries +Group(de): X11/Entwicklung/Libraries +Group(pl): X11/Programowanie/Biblioteki + +%description static +%{name} static libraries. + +%description -l pl static +Biblioteki statyczne z funkcjami %{name}. %prep %setup -q +%patch0 -p1 %build +rm missing gettextize --copy --force -LDFLAGS="-s"; export LDFLAGS -%configure \ - --disable-static +aclocal -I %{_aclocaldir}/gnome +autoconf +automake -a -c +%configure \ + --with-gnome \ + --without-included-gettext %{__make} %install @@ -49,30 +81,39 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT \ gmenudir=%{_applnkdir}/Utilities -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/{,toutdoux/plugins/}lib*so.*.* +gzip -9nf AUTHORS ChangeLog NEWS README -gzip -9nf NEWS README TODO +%find_lang %{name} --with-gnome -%find_lang %{name} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc *.gz -%attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_libdir}/lib*so.*.* +%doc *.gz doc/en/toutdoux/* +%attr(755,root,root) %{_bindir}/toutdoux +%attr(755,root,root) %{_libdir}/lib*.so.*.* %dir %{_libdir}/toutdoux %dir %{_libdir}/toutdoux/plugins -%attr(755,root,root) %{_libdir}/toutdoux/plugins/lib*so* -%attr(755,root,root) %{_libdir}/toutdoux/plugins/lib*la -%{_libdir}/toutdoux/compat.xml -%{_applnkdir}/Utilities/* -%{_datadir}/mime-info/* -%{_datadir}/pixmaps/toutdoux* +%attr(755,root,root) %{_libdir}/toutdoux/plugins/lib*.so* +%dir %{_pixmapsdir}/toutdoux +%{_pixmapsdir}/toutdoux/* +%{_pixmapsdir}/*.* %{_datadir}/toutdoux +%{_applnkdir}/*/* +%{_datadir}/mime-info/* %files devel -%{_includedir}/* -%attr(755,root,root) %{_libdir}/lib*so +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/*-config +%attr(755,root,root) %{_libdir}/lib*.so +%attr(755,root,root) %{_libdir}/lib*.la +%{_includedir}/toutdoux + +%files static +%defattr(644,root,root,755) +%{_libdir}/toutdoux/plugins/lib*.a +%{_libdir}/lib*.a