diff --git a/.cvsignore b/.cvsignore index e69de29..f0f57a2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +almanah-0.4.0.tar.gz diff --git a/almanah.spec b/almanah.spec new file mode 100644 index 0000000..16e2822 --- /dev/null +++ b/almanah.spec @@ -0,0 +1,85 @@ +Name: almanah +Version: 0.4.0 +Release: 2%{?dist} +Summary: A application to allow you to keep a diary of your life + +Group: Applications/Productivity +License: GPLv3+ +URL: http://tecnocode.co.uk/projects/almanah/ +Source0: http://tecnocode.co.uk/downloads/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext gpgme-devel sqlite-devel gtkspell-devel GConf2-devel +BuildRequires: glib2-devel gtk2-devel intltool desktop-file-utils + +%description +Almanah is a small GTK+ application to allow you to keep a diary of your life. + +%prep +%setup -q +chmod -x README AUTHORS NEWS ChangeLog src/{main,interface}.{c,h} +sed -i 's/Icon=diary/Icon=almanah/' data/%{name}.desktop.in + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +desktop-file-install --vendor="fedora" \ + --delete-original \ + --dir=%{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/%{name}.desktop +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + + +%preun +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README ChangeLog +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/applications/fedora-%{name}.desktop + + +%changelog +* Mon Jul 14 2008 Jean-François Martin - 0.4.0-2 +- Fix rpmlint warnings +- Include ChangeLog +- Fix icon name in desktop file + +* Sat Jul 12 2008 Jean-François Martin - 0.4.0-1 +- Change to the new name +- Remove GConf scriplets + +* Mon Jun 23 2008 Jean-François Martin 0.3.1-1 +- Update to the new release +- Drop the patch (fixed upstream) + +* Fri Jun 20 2008 Jean-François Martin 0.3-1 +- Update to the new release + +* Wed May 21 2008 Jean-François Martin 0.2-1 +- First RPM release. + diff --git a/import.log b/import.log new file mode 100644 index 0000000..82a597d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +almanah-0_4_0-2_fc9:HEAD:almanah-0.4.0-2.fc9.src.rpm:1216052644 diff --git a/sources b/sources index e69de29..8c4dfac 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +59cdbff0ba8e53d736011608aeb6a8e3 almanah-0.4.0.tar.gz