Author: twittner Date: Thu Aug 11 18:49:28 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: snotes.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/snotes.spec diff -u /dev/null SPECS/snotes.spec:1.1 --- /dev/null Thu Aug 11 20:49:28 2005 +++ SPECS/snotes.spec Thu Aug 11 20:49:23 2005 @@ -0,0 +1,57 @@ +# $Revision$, $Date$ +%define ver 1.1.4-2 +%define _ver %(echo %ver | tr - _) +Summary: Sticky little notes on desktop +Name: snotes +Version: %_ver +Release: 0.1 +License: GPL +Group: X11/Applications +Source0: http://osdn.dl.sourceforge.net/sourceforge/s-notes/%{name}-%{ver}.tar.gz +# Source0-md5: b49a9639cf479b4a22947676344f58e9 +Source1: %{name}.desktop +Source2: %{name}.png +BuildRequires: qmake +BuildRequires: qt-devel +BuildRequires: sed >= 4.0.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Sticky little notes on desktop. + +%prep +%setup -q -n %{name} + +%build +rm -f snotes *.o +qmake -project +qmake -nocache +%{__sed} -i -e s/-lqt/-lqt-mt/ Makefile +%{__make} QTDIR=%{_prefix} + +%install +rm -rf $RPM_BUILD_ROOT + +install -D snotes $RPM_BUILD_ROOT%{_bindir}/snotes +install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop +install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README +%attr(755,root,root) %{_bindir}/* +%{_desktopdir}/* +%{_pixmapsdir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/08/11 18:49:23 twittner +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
