X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=emma.spec;h=041e4c8d8a327c6ed932dc29fc8f1d8360b6a20d;hb=bd54861e7f4be90929a949ff14373b16a402dc92;hp=c4fcb0175719d46ea89fcbc3b2089a14b114e0c2;hpb=acd1913c60d2833f3e4f08661ca57e21c4c1026e;p=packages%2Femma.git diff --git a/emma.spec b/emma.spec index c4fcb01..041e4c8 100644 --- a/emma.spec +++ b/emma.spec @@ -1,44 +1,49 @@ -%define name emma -%define version 0.8 -%define release 1 -%define prefix /usr -%define builddir $RPM_BUILD_DIR/%{name}-%{version} - -Requires: python >= 1.5 , gtk+ >= 1.2.0 , gnome-libs -Summary: Money management program for Gnome/Gtk+ -Name: %{name} -Version: %{version} -Release: %{release} -Copyright: GPL -Distribution: N/A -Group: Applications/Databases -Source: %{name}-%{version}-%{release}.tar.gz -Buildroot: /var/tmp/%{name}-%{version}-%{release}-root -URL: http://rainbow.mimuw.edu.pl/~la181249/ -Packager: Lukasz Anforowicz +Summary: Money management program for Gnome/Gtk+ +Summary(pl): Program do zarz±dzania pieniêdzmi +Name: emma +Version: 0.8 +Release: 0 +License: GPL +Group: Applications/Databases +Source0: http://rainbow.mimuw.edu.pl/~la181249/emma/download-count.php3?get=packages/%{name}-%{version}-1.tar.gz +URL: http://rainbow.mimuw.edu.pl/~la181249/ +BuildRequires: python-devel >= 1.5 +BuildRequires: gtk+-devel >= 1.2.0 +BuildRequires: gnome-libs-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 + %description -This program allows to easy manage your incomes and expenses. -It is simple in design, but extensible through embeded python -interface. Install it if you want to keep track of your money. +This program allows to easy manage your incomes and expenses. It is +simple in design, but extensible through embeded python interface. +Install it if you want to keep track of your money. + +%description -l pl +Ten program pozwoli Ci ³atwo zarz±dzaæ Twoimi przychodami oraz wydatkami. +Prosty w konstrukcji, ale ³atwy w rozbudowie dziêki wbudowanemu interfejsowi +jêzyka Python. Zainstaluj Emma je¶li chcesz wiedzieæ, gdzie znikaj± Twoje +pieni±dze. %prep -%setup +%setup -q %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{prefix} -make +%configure2_13 +%{__make} %install rm -rf $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install +%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files +%defattr(644,root,root,755) %doc ChangeLog README COPYING -%{prefix}/bin/emma -%{prefix}/share/locale/*/*/* -%{prefix}/share/emma/* -%{prefix}/share/gnome/apps/Applications/emma.desktop -%{prefix}/share/gnome/help/emma/* +%attr(755,root,root) %{_bindir}/emma +%{_datadir}/locale/*/*/* +%{_datadir}/emma/* +%{_applnkdir}/Applications/emma.desktop +%{_datadir}/gnome/help/emma/*