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 | |
| 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
| -rw-r--r-- | Makefile.am | 1 | ||||
| -rw-r--r-- | pomatic.spec | 30 | ||||
| -rw-r--r-- | src/Makefile.am | 2 |
3 files changed, 20 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index af437a6..b0e3d56 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,2 @@ +EXTRA_DIST = pomatic.spec SUBDIRS = src 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}/*/* diff --git a/src/Makefile.am b/src/Makefile.am index 9b9997d..5e0dab3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +EXTRA_DIST = pomatic.1 + bin_PROGRAMS = pomatic man_MANS = pomatic.1 pomatic_LDADD = $(LEXLIB) |
