version 2.4.0 mark language specific files with %lang() add BR: gettext
This commit is contained in:
parent
fd6c51221b
commit
b4a27d5e6b
3 changed files with 45 additions and 18 deletions
|
|
@ -1 +1 @@
|
|||
gimp-help-2-0.13.tar.gz
|
||||
gimp-help-2.4.0.tar.bz2
|
||||
|
|
|
|||
|
|
@ -1,26 +1,30 @@
|
|||
%define gimphelpver 2-0.13
|
||||
%define gimpsubver 2.0
|
||||
|
||||
Summary: Help files for the GIMP.
|
||||
Summary: Help files for GIMP
|
||||
Name: gimp-help
|
||||
Version: %(echo %gimphelpver|cut -d- -f1)
|
||||
Release: 0.2.%(echo %gimphelpver|cut -d- -f2)%{?dist}
|
||||
Version: 2.4.0
|
||||
Release: 1%{?dist}
|
||||
License: GFDL
|
||||
Group: Applications/Multimedia
|
||||
URL: http://wiki.gimp.org/gimp/GimpDocs
|
||||
Source: ftp://ftp.gimp.org/pub/gimp/help/gimp-help-%{gimphelpver}.tar.gz
|
||||
Source: ftp://ftp.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: libxslt
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%__id_u -n)-root
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: gimp-devel >= 1:2.0
|
||||
Requires: gimp >= 2.0
|
||||
BuildRequires: gnome-doc-utils
|
||||
BuildRequires: libxml2
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: pkgconfig >= 0.9.0
|
||||
BuildRequires: gimp-devel >= 2:2.4
|
||||
BuildRequires: gettext
|
||||
Requires: gimp >= 2:2.4
|
||||
|
||||
%description
|
||||
The GIMP User Manual is a newly written User Manual for the GIMP.
|
||||
This package contains a user manual written for the GNU Image Manipulation
|
||||
Program.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{gimphelpver}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
|
@ -30,16 +34,39 @@ make
|
|||
rm -rf %buildroot
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
rm -f files.list
|
||||
cat << EOF > files.list
|
||||
%%defattr (-, root, root)
|
||||
%%dir %{_datadir}/gimp
|
||||
%%dir %{_datadir}/gimp/%{gimpsubver}
|
||||
%%dir %{_datadir}/gimp/%{gimpsubver}/help
|
||||
%{_datadir}/gimp/%{gimpsubver}/help/images
|
||||
EOF
|
||||
f="$PWD/files.list"
|
||||
|
||||
pushd %{buildroot}%{_datadir}/gimp/%{gimpsubver}/help
|
||||
for dir in *; do
|
||||
case "$dir" in
|
||||
images)
|
||||
;;
|
||||
*)
|
||||
echo "%%lang($dir) %{_datadir}/gimp/%{gimpsubver}/help/$dir" >> "$f"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%dir %{_datadir}/gimp
|
||||
%dir %{_datadir}/gimp/%{gimpsubver}
|
||||
%{_datadir}/gimp/%{gimpsubver}/help
|
||||
%files -f files.list
|
||||
|
||||
%changelog
|
||||
* Mon Feb 04 2008 Nils Philippsen <nphilipp@redhat.com> - 2.4.0-1
|
||||
- version 2.4.0
|
||||
- mark language specific files with %%lang()
|
||||
- add BR: gettext
|
||||
|
||||
* Wed Aug 08 2007 Nils Philippsen <nphilipp@redhat.com> - 2-0.2.0.13
|
||||
- change licensing tag to GFDL
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
a0d3ab0e503cacaaaa031958bfad43e5 gimp-help-2-0.13.tar.gz
|
||||
fb4402aabce1d7f4eccc1a8739cc7e56 gimp-help-2.4.0.tar.bz2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue