SPECS: gcstar.spec (NEW) - initial, build and works fine STBR ?
Tomasz Wittner
twittner w o2.pl
Nie, 3 Gru 2006, 09:15:02 CET
On Sat 2. December 2006 19:17, tiwek wrote:
> Author: tiwek Date: Sat Dec 2 18:17:53 2006 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - initial, build and works fine
> STBR ?
>
> ---- Files affected:
> SPECS:
> gcstar.spec (NONE -> 1.1) (NEW)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/gcstar.spec
> diff -u /dev/null SPECS/gcstar.spec:1.1
> --- /dev/null Sat Dec 2 19:17:53 2006
> +++ SPECS/gcstar.spec Sat Dec 2 19:17:48 2006
> @@ -0,0 +1,63 @@
> +#
> +%include /usr/lib/rpm/macros.perl
> +Summary: GCstar: collection manager.
> +Name: gcstar
> +Version: 0.5.0
> +Release: 1
> +License: GPL
> +Group: Applications
> +Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
> +# Source0-md5: 12ba75fe2f3091c1ccd03864424a34e2
> +Patch0: %{name}-mandir.patch
> +Patch1: %{name}-desktop.patch
> +BuildRequires: perl(Gtk2)
> +BuildRequires: perl(LWP::Simple)
> +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
> +
> +%description
> +GCstar is a free application for managing your collections.
> +
> +%prep
> +%setup -q -n %{name}
> +%patch0 -p1
> +%patch1 -p1
> +
> +%build
> +
> +%install
> +rm -rf $RPM_BUILD_ROOT
> +
> +./install --text \
> + --prefix=$RPM_BUILD_ROOT/usr
> +
> +install -d $RPM_BUILD_ROOT%{_desktopdir}
> +install -d $RPM_BUILD_ROOT%{_pixmapsdir}
> +install share/applications/gcstar.desktop $RPM_BUILD_ROOT%{_desktopdir}
> +install share/gcstar/icons/gcstar_64x64.png
$RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
> +
> +%clean
> +rm -rf $RPM_BUILD_ROOT
> +
> +%post
> +%update_desktop_database_post
> +
> +%postun
> +%update_desktop_database_postun
> +
> +%files
> +%defattr(644,root,root,755)
> +%doc README
> +%attr(755,root,root) %{_bindir}/*
> +%dir %{_datadir}/%{name}
> +%{_datadir}/%{name}/*
> +%dir %{_libdir}/%{name}
> +%{_libdir}/%{name}/*
> +%{_mandir}/man1/*
> +%{_desktopdir}/*.desktop
> +%{_pixmapsdir}/*.png
> +
> +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
> +%changelog
> +* %{date} PLD Team <feedback w pld-linux.org>
> +All persons listed below can be reached at <cvs_login>@pld-linux.org
> +
1. Nie ma cvs keywords ($Revision:$, $Log:$, ...).
2. Czy można używać BR perl(FOO:Bar), czy raczej ma być BR: perl-FOO-Bar?
--
Tomasz Wittner
Więcej informacji o liście dyskusyjnej pld-devel-pl