diff --git a/.gitignore b/.gitignore index e69de29..788d84e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/0.3.tar.gz diff --git a/crudini.spec b/crudini.spec new file mode 100644 index 0000000..8909b3a --- /dev/null +++ b/crudini.spec @@ -0,0 +1,47 @@ +Name: crudini +Version: 0.3 +Release: 2%{?dist} +Summary: A utility for manipulating ini files + +License: GPLv2 +URL: https://github.com/pixelb/%{name} +Source0: https://github.com/pixelb/%{name}/archive/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python-iniparse +Requires: python-iniparse + +%description +A utility for easily handling ini files from the command line and shell +scripts. + +%prep +%setup -q + +%build + +%install +install -p -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name} + +%check +pushd tests +./test.sh +popd + +%files +%doc README COPYING TODO example.ini +%{_bindir}/%{name} + + +%changelog +* Fri Mar 08 2013 Jakub Ruzicka - 0.3-2 +- Added BuildRequires python-iniparse. + +* Fri Mar 08 2013 Jakub Ruzicka - 0.3-1 +- New version 0.3 includes COPYING licence file. +- Improved description. +- Added python-iniparse dependency. +- Added tests check. + +* Thu Mar 07 2013 Jakub Ruzicka - 0.1-1 +- Initial package release diff --git a/sources b/sources index e69de29..418dd78 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4b11836db19ea43a2099c4ca24042404 0.3.tar.gz