diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2010-02-02 12:16:59 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2010-02-02 12:16:59 -0500 |
commit | 5029dfb4abd63bd4d7a983ec2db0be972a47e0db (patch) | |
tree | 98e03af54212335d7bea7fa61e8a2ead6136b871 /pomatic.spec | |
parent | 8d36f0832d166f0eb4944515e21770eebec11012 (diff) | |
download | pomatic-5029dfb4abd63bd4d7a983ec2db0be972a47e0db.tar.gz pomatic-5029dfb4abd63bd4d7a983ec2db0be972a47e0db.tar.xz pomatic-5029dfb4abd63bd4d7a983ec2db0be972a47e0db.zip |
- update the .spec file
- make sure the .spec file is in the tarball
- make sure the man page is in the tarball
Diffstat (limited to 'pomatic.spec')
-rw-r--r-- | pomatic.spec | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/pomatic.spec b/pomatic.spec index fac88aa..f7a291e 100644 --- a/pomatic.spec +++ b/pomatic.spec @@ -1,30 +1,34 @@ -Name: pomatic -Version: 1.1 -Release: 1 -Source: %{name}-%{version}.tar.gz -Summary: pomatic -Group: Applications/Text -License: GPLv2+ -BuildRoot: %{_tmppath}/%{name}-root +Name: pomatic +Version: 1.1 +Release: 1%{?dist} +Summary: A tool for generating gettext translations + +Group: Development/Tools +License: GPLv2+ +Source0: pomatic-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description -pomatic +The pomatic tool generates a gettext .po file using a .pot template file and a +specified filter command. The resulting "translation" is mainly useful for +testing. %prep %setup -q %build -make +%configure +make %{?_smp_mflags} %install -rm -fr $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean -rm -fr $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) +%defattr(-,root,root,-) %{_bindir}/* %{_mandir}/*/* |