From b6b5e547a3c2b7cb1f77210906bb123961e005af Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Feb 10 2014 16:29:36 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore index e69de29..b70303d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-pkg-tools_0.19.3.tar.gz diff --git a/gnome-pkg-tools.spec b/gnome-pkg-tools.spec new file mode 100644 index 0000000..85e1bc8 --- /dev/null +++ b/gnome-pkg-tools.spec @@ -0,0 +1,65 @@ +Name: gnome-pkg-tools +Version: 0.19.3 +Release: 3%{?dist} +Summary: Tools for the Debian GNOME Packaging Team + +BuildArch: noarch +License: GPLv2+ +URL: http://packages.debian.org/unstable/%{name} +Source0: http://ftp.de.debian.org/debian/pool/main/g/%{name}/%{name}_%{version}.tar.gz + +BuildRequires: xmlto +Requires: debhelper +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This package contains some tools useful for the Debian GNOME Packaging Team including: + * Documentation. + * The list of team members. + * A number of rules files for CDBS that are helpful for GNOME + packages - but may also be useful for others. +This package is useful when building Debian packages on Fedora, for instance via pbuilder. + + +%prep +%setup -q -n %{name}-%{version} + + +%build +xmlto html-nochunks gnome-policy.xml + + +%install +install -d %{buildroot}%{_datadir}/%{name} +install -pm 0644 pkg-gnome.team %{buildroot}%{_datadir}/%{name}/pkg-gnome.team +install -pm 0644 control.header %{buildroot}%{_datadir}/%{name}/control.header +cp -a 1 %{buildroot}%{_datadir}/%{name}/1 +install -Dpm 0755 desktop-check-mime-types %{buildroot}%{_bindir}/desktop-check-mime-types +install -Dpm 0755 dh/dh_gnome %{buildroot}%{_bindir}/dh_gnome +install -Dpm 0755 dh/dh_gnome_clean %{buildroot}%{_bindir}/dh_gnome_clean +install -Dpm 0755 dh/gnome.pm %{buildroot}%{perl_vendorlib}/Debian/Debhelper/Sequence/gnome.pm +install -Dpm 0644 dh/dh_gnome.1 %{buildroot}%{_mandir}/man1/dh_gnome.1 +install -Dpm 0644 dh/dh_gnome_clean.1 %{buildroot}%{_mandir}/man1/dh_gnome_clean.1 +install -Dpm 0644 debian/desktop-check-mime-types.1 %{buildroot}%{_mandir}/man1/desktop-check-mime-types.1 + +%files +%doc debian/copyright gnome-policy.html +%{_bindir}/desktop-check-mime-types +%{_bindir}/dh_gnome +%{_bindir}/dh_gnome_clean +%{_datadir}/%{name}/ +%{perl_vendorlib}/Debian/Debhelper/Sequence/gnome.pm +%{_mandir}/man1/dh_gnome.1* +%{_mandir}/man1/dh_gnome_clean.1* +%{_mandir}/man1/desktop-check-mime-types.1* + + +%changelog +* Mon Feb 10 2014 Sandro Mani - 0.19.3-3 +- Add description + +* Mon Feb 10 2014 Sandro Mani - 0.19.3-2 +- Added gnome-policy.html to %%doc + +* Sun Feb 9 2014 Sandro Mani - 0.19.3-1 +- Initial package diff --git a/sources b/sources index e69de29..083bfb4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8bb11b1f4d4317ddec16371a2be1aa26 gnome-pkg-tools_0.19.3.tar.gz