SPECS: gcstar.spec (NEW) - initial, build and works fine STBR ?

tiwek tiwek at pld-linux.org
Sat Dec 2 19:17:53 CET 2006


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 at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
================================================================


More information about the pld-cvs-commit mailing list