--- pkg/redhat/poedit.spec +++ /dev/null @@ -1,84 +0,0 @@ -%define wxGTK2_version 20030707 - -Summary: Gettext catalogs editor -Name: poedit -Version: 1.2.2 -Release: 1 -License: MIT -Group: Applications/Editors -Source: poedit-%{version}.tar.gz -URL: http://poedit.sourceforge.net -Packager: Vaclav Slavik -Provides: poedit -BuildRoot: %{_tmppath}/%{name}-%{version} - -BuildRequires: wxGTK2ud >= 2.5-%{wxGTK2_version}, wxGTK2ud-devel >= 2.5-%{wxGTK2_version} - -%description -poEdit is cross-platform gettext catalogs (.po files) editor. It is built with -wxWindows toolkit and can run on Unix or Windows. It aims to provide convenient -way of editing gettext catalogs. It features UTF-8 support, fuzzy and -untranslated records highlighting, whitespaces highlighting, references -browser, headers editing and can be used to create new catalogs or update -existing catalogs from source code by single click. - -%prep -if [ ! -e /usr/bin/wxgtkd-2.3-config ] -then - ln -s /usr/bin/wxgtk2ud-2.5-config /usr/bin/wxgtkd-2.3-config -fi -%setup -q - -%build -%configure --enable-semistatic --enable-debug -make - -%install -rm -rf %{buildroot} -%makeinstall GNOME_DATA_DIR=%{buildroot}/usr/share \ - KDE_DATA_DIR=%{buildroot}/usr/share - -(cd %{buildroot} -mkdir -p ./%{_libdir}/menu -cat > ./%{_libdir}/menu/poedit <>poedit.lang - -%clean -rm -Rf %{buildroot} - -%post -# This is done on Mandrake to update its menus: -if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi - -%postun -# This is done on Mandrake to update its menus: -if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi - - -%files -f poedit.lang -%defattr(-,root,root) -%doc NEWS LICENSE README AUTHORS - -%dir %{_datadir}/poedit -%{_datadir}/poedit/* -%lang(hr) %{_datadir}/poedit/help-hr.zip -%{_bindir}/poedit -%{_mandir}/*/* -%{_datadir}/gnome/apps/Development/* -%{_datadir}/mime-info/poedit.* -%{_datadir}/pixmaps/* -%{_libdir}/menu/* --- pkg/redhat/wxGTK2ud.spec +++ /dev/null @@ -1,99 +0,0 @@ -%define minor_version 20031010.8 -%define major_version 2.5 - -Summary: The GTK+ 2 port of the wxWindows library -Name: wxGTK2ud -Version: %{major_version} -Release: %{minor_version} -Copyright: wxWindows Licence -Group: X11/Libraries -Source: %{name}-%{version}.tar.bz2 -URL: http://www.wxwindows.org -Packager: pgAdmin project -BuildRoot: %{_tmppath}/%{name}-root - -Provides: libwx_gtk2ud-%{version}.a -#BuildRequires: libtiff-devel libpng-devel libjpeg-devel - -%description -wxWindows is a free C++ library for cross-platform GUI development. -With wxWindows, you can create applications for different GUIs (GTK+, -Motif/LessTif, MS Windows, Mac) from the same source code. These packages -are provided with Unicode and debug features and linked agains GTK2 staticly. -You can use them for the development of pgAdmin3. They will not conflict with -existing GTK 2.4 libraries. - -%package devel -Summary: The GTK+ 2 port of the wxWindows library -Group: X11/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Header files for wxGTK, the GTK+ 2 port of the wxWindows library. - -%package xrc -Summary: The XML-based resource system for the wxWindows library. -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description xrc -The XML-based resource system, known as XRC, allows user interface -elements such as dialogs, menu bars and toolbars, to be stored in -text files and loaded into the application at run-time. - -%package stc -Summary: Styled text control. - -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description stc -Styled text control based on the Scintillia project http://www.scintilla.org/. - -%prep -%setup -q - -%build -%configure --enable-monolithic --with-gtk --enable-gtk2 --enable-unicode --enable-debug --disable-shared -make - -pushd contrib/src - make -C xrc - make -C stc -popd - -%install -rm -rf %{buildroot} -%makeinstall - -pushd contrib/src/ - %makeinstall -C xrc - %makeinstall -C stc -popd - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root) -%{_libdir}/libwx_gtk2ud-%{version}.a -%{_datadir}/wx - -%files devel -%defattr(-,root,root) -%{_includedir}/wx -%{_libdir}/wx -%{_bindir}/wxgtk2ud-%{version}-config -%{_datadir}/aclocal/*.m4 - -%files xrc -%defattr(-, root, root) -%{_libdir}/libwx_gtk2ud_xrc-%{version}.a - -%files stc -%defattr(-, root, root) -%{_libdir}/libwx_gtk2ud_stc-%{version}.a - -%changelog -* Mon Jun 10 2003 Jean-Michel POURE -- Initial build.