summaryrefslogtreecommitdiffstats
path: root/pomatic.spec
blob: a98b66fb8bf4329fd5303b338818e95491d76a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
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
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/*
%{_mandir}/*/*

%changelog
* Tue Feb  2 2010 Nalin Dahyabhai <nalin@redhat.com>
- revive, update to 1.1
- autotoolize

* Sat Jul 12 2003 Nalin Dahyabhai <nalin@redhat.com>
- convert \N to \n when reading filter output
- handle plural forms in .pot files
- add a sample .spec doc file
- add more scripts

* Fri Aug  3 2001 Nalin Dahyabhai <nalin@redhat.com>
- fixup empty-string translation to include actual header information

* Mon Apr  2 2001 Nalin Dahyabhai <nalin@redhat.com>
- initial CVS checkin