SPECS: pld-about.spec - and now, for something completly different
wolf
wolf at pld-linux.org
Thu Sep 15 13:29:32 CEST 2005
Author: wolf Date: Thu Sep 15 11:29:32 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- and now, for something completly different
---- Files affected:
SPECS:
pld-about.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SPECS/pld-about.spec
diff -u SPECS/pld-about.spec:1.15 SPECS/pld-about.spec:1.16
--- SPECS/pld-about.spec:1.15 Thu Apr 8 22:17:57 2004
+++ SPECS/pld-about.spec Thu Sep 15 13:29:27 2005
@@ -1,66 +1,54 @@
# $Revision$, $Date$
-Summary: PLD-About
-Summary(pl): PLD-About
+%include /usr/lib/rpm/macros.mono
+Summary: PLD About
+Summary(pl): O PLD
Name: pld-about
-Version: 0.1.5
-%define pldabout_snap 20040408
-Release: 0.%{pldabout_snap}
-License: GPL
+Version: 1.0.0
+Release: 1
+License: GPL v2
Group: X11/Applications
-Vendor: Mariusz 'Ma-rYu-sH' Witkowski <maryush at pld-linux.org>
-Source0: PLD-About-%{version}-%{pldabout_snap}.tar.bz2
-# Source0-md5: af875155f8ded4d77bafa73045ad4127
-Source1: %{name}.png
-Patch0: %{name}-po.patch
-Patch1: %{name}-gettextize.patch
+Source0: http://team.pld-linux.org/~wolf/%{name}-%{version}.tar.bz2
+# Source0-md5: d9d5cd6dcbe42def0e5b80f9f34e6454
URL: http://www.pld-linux.org/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.5.91
BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel >= 1.4.0
-Requires: XFree86-fonts-75dpi-ISO8859-2
-Requires: fonts-Type1-ulT1mo
+BuildRequires: mono-csharp >= 1.1.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Little program similar to gnome-about. It displays a list of the PLD
-developers and other people that support distribution development.
-This package contains GNOME version.
+Little program showing information about PLD developers.
%description -l pl
-Mały programik podobny do gnome-about, zawierający listę developerów i
-osób współpracujących przy tworzeniu dystrybucji PLD. Wersja GNOME.
+Mały program wyświetlający informacje o twórcach PLD.
%prep
-%setup -q -n PLD-About-%{version}-%{pldabout_snap}
-%patch0 -p1
-%patch1 -p1
-
-echo 'Categories=System;X-Help;' >> pld-about.desktop
-
-mv -f po/pld-about.po po/pl.po
+%setup -q
%build
-%{__gettextize}
-%{__aclocal} -I m4 -I macros
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_datadir}/pld-about}
-
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_libdir}/pld-about/backgrounds}
-install lista.dat $RPM_BUILD_ROOT%{_datadir}/pld-about
-install pld-about.desktop $RPM_BUILD_ROOT%{_desktopdir}
-install pld-about.png $RPM_BUILD_ROOT%{_pixmapsdir}
-install src/pld_logo2.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pld-about
-install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/pld-about2.png
+install gdk-cairo.dll pld-about.exe front.png bociek.png \
+ $RPM_BUILD_ROOT%{_libdir}/pld-about
+install backgrounds/* $RPM_BUILD_ROOT%{_libdir}/pld-about/backgrounds
+
+install pld-about.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install resources/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/pld-about.png
+
+for i in locale/*.mo
+do
+ install -d $RPM_BUILD_ROOT%{_datadir}/locale/`basename $i .mo`/LC_MESSAGES
+ install $i $RPM_BUILD_ROOT%{_datadir}/locale/`basename $i .mo`/LC_MESSAGES/pld-about.mo
+done
+
+cat > $RPM_BUILD_ROOT%{_bindir}/pld-about << EOF
+#!/bin/sh
+cd %{_libdir}/pld-about
+exec /usr/bin/mono %{_libdir}/pld-about/pld-about.exe "\$@"
+EOF
%find_lang %{name}
@@ -69,12 +57,11 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS
+%doc docs/{ChangeLog,copyrights,kryteria,skrypty}
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/pld-about
+%{_libdir}/pld-about
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png
-%{_pixmapsdir}/pld-about
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -82,63 +69,6 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.15 2004/04/08 20:17:57 averne
-- added todays snapshot
-- s/pld.org.pl/pld-linux.org/g in sources
-- works fine
-
-Revision 1.14 2004/04/05 19:11:52 qboosh
-- fixed build, switched to vfolders; however, needs lista.h update
-
-Revision 1.13 2003/11/11 02:06:30 qboosh
-- BR: ac,am
-
-Revision 1.12 2003/08/27 22:31:24 maryush
-- fixed my mail
-
-Revision 1.11 2003/08/27 09:26:30 gotar
-- s/pld.org.pl/pld-linux.org/g
-
-Revision 1.10 2003/05/25 11:00:57 malekith
-- massive attack, adding Source-md5
-
-Revision 1.9 2003/05/25 06:25:32 misi3k
-- massive attack s/pld.org.pl/pld-linux.org/
-
-Revision 1.8 2003/01/24 11:15:49 gotar
-- added patch
-
-Revision 1.7 2003/01/24 10:49:38 gotar
-- moved %{__gettextize} to it's right place
-
-Revision 1.6 2003/01/18 22:54:56 juandon
-- removed two lines with define
-
-Revision 1.5 2003/01/04 13:24:55 gotar
-- fixed *.po building, BR: gettext-devel,
-- fixed package building (ac/am/gettextize macros),
-- added two missing directories to the package contents,
-- added two more pixmaps,
-- release 3, STBR.
-
-Revision 1.4 2002/12/26 01:52:40 maryush
-- it's realy 0.1.4 version, added some missing files in src pkg and spec
-- patch is not needed, is include in src package
-- don't regenerate .mo files, now it's not working, i don't know why :(
-- release 2, dzimi STBR and put to RA general updates, some bug fixed and
- now full functionaly ;)
-
-Revision 1.3 2002/11/18 01:59:25 ankry
-- updated to 0.1.4; fixed translation, synced developper list with
- organizational/list, resized widgets (patch)
-- building/installation of .po file fixed (but using nasty hack instead of
- ac/am)
-- added applnk icon
-
-Revision 1.2 2002/10/03 10:29:57 qboosh
-- fixed URL and License fields, added en description
-- removed COPYING symlink from doc
-- release 2
+Revision 1.16 2005/09/15 11:29:27 wolf
+- and now, for something completly different
-Revision 1.1 2002/09/19 10:49:37 maryush
-- initial public release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pld-about.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list