diff options
-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) |