Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > f155d0d60020151ef9ecbe4497d18be0 > files > 2

fortune-murphy-1.0-19.mga5.src.rpm

%define base_name	murphy

Name:		fortune-%{base_name}
Version:	1.0
Release:	%mkrel 19
Summary:	Quotes from Murphy's laws
License:	GPL
Group:		Toys
Source:		%{name}-%{version}.tar.bz2
Requires:	fortune-mod
BuildRequires:	fortune-mod
BuildArch:	noarch

%description
This is a collection of more than 1250 Murphy's (& Al) laws, ignominously
stolen from the excellent Ultimate Collection of Murphy's Laws by Andreas Götz
(http://www.cpuidle.de/murphy.shtml), at format used by the good old fortune
command.

%prep
%setup -q

%build
rm -f data/*.dat
for file in data/*; do
    iconv -f latin1 -t utf8 < $file >> murphy
done
/usr/sbin/strfile murphy murphy.dat

%install
install -d -m 755 %{buildroot}%{_gamesdatadir}/fortunes
install -m 644 murphy murphy.dat %{buildroot}%{_gamesdatadir}/fortunes

%files
%doc COPYING README
%{_gamesdatadir}/fortunes/murphy
%{_gamesdatadir}/fortunes/murphy.dat


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1.0-19.mga5
+ Revision: 739488
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.0-18.mga5
+ Revision: 679304
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 1.0-17.mga4
+ Revision: 504562
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 1.0-16.mga3
+ Revision: 350784
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 16 2012 guillomovitch <guillomovitch> 1.0-15.mga2
+ Revision: 196784
- don't include index files in fortune file

* Thu Jan 12 2012 guillomovitch <guillomovitch> 1.0-14.mga2
+ Revision: 195451
- merge all categories in  a single file

* Thu Jan 12 2012 guillomovitch <guillomovitch> 1.0-13.mga2
+ Revision: 195239
- imported package fortune-murphy


* Thu Jan 12 2012 Guillaume Rousse <guillomovitch@mandriva.org> 1.0-13.mga2
- imported from mandriva
- utf8 conversion