rpms/glpi-data-injection/EL-5 glpi-data-injection.spec,NONE,1.1
Remi Collet (remi)
fedora-extras-commits at redhat.com
Fri Feb 22 20:53:25 UTC 2008
- Previous message (by thread): rpms/glpi-data-injection/EL-5 sources,1.1,1.2
- Next message (by thread): rpms/grhino/devel grhino-0.16.0-emptyelse.patch, NONE, 1.1 grhino-0.16.0-gcc43.patch, NONE, 1.1 grhino-0.16.0-types.patch, NONE, 1.1 grhino.spec, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/glpi-data-injection/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10741
Added Files:
glpi-data-injection.spec
Log Message:
missing spec...
--- NEW FILE glpi-data-injection.spec ---
%define pluginname data_injection
Name: glpi-data-injection
Version: 1.1
Release: 1%{?dist}
Summary: Plugin for importing data into GLPI
Summary(fr): Extension pour importer des données dans GLPI
Group: Applications/Internet
License: GPLv2+
URL: http://www.glpi-project.org/
Source0: http://www.glpi-project.org/IMG/gz/glpi-%{pluginname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: glpi >= 0.70
%description
Plugin for importing data into GLPI
It'll can serve, for example, to :
- import machines at the delivery (electronic delivery order in CSV)
- import additional data
- import equipments not managed by OCS
- transmit from an other tool of asset management
%description -l fr
Extension pour importer des données dans GLPI
Elle pourra servir, par exemple, Ã :
- importer des machines à la livraison (bon de livraison électronique en CSV)
- importer des données complémentaires
- importer des matériels non gérés par OCS
- migrer depuis un autre outil de gestion de parc
%prep
%setup -q -c
# dos2unix to avoid rpmlint warnings
mv %{pluginname}/docs docs
find %{pluginname} -name \*php -exec sed -i -e 's/\r//' {} \;
find docs -type f -exec sed -i -e 's/\r//' {} \;
%build
# empty build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
for i in %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/locales/*
do
lang=$(basename $i)
echo "%lang(${lang:0:2}) %{_datadir}/glpi/plugins/%{pluginname}/locales/${lang}"
done >%{name}.lang
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc docs/*
%{_datadir}/glpi/plugins/%{pluginname}
%dir %{_datadir}/glpi/plugins/%{pluginname}/locales
%{_datadir}/glpi/plugins/%{pluginname}/locales/*
%changelog
* Sun Jan 13 2008 Remi Collet <Fedora at FamilleCollet.com> - 1.1-1
- update to 1.1
- tag lang files
* Tue Dec 25 2007 Remi Collet <Fedora at FamilleCollet.com> - 1.0-1
- update to 1.0 finale
- add patch 5653 (lang fix)
* Sat Aug 25 2007 Remi Collet <RPMS at FamilleCollet.com> - 1.0-0.20070825
- Initial RPM
- Previous message (by thread): rpms/glpi-data-injection/EL-5 sources,1.1,1.2
- Next message (by thread): rpms/grhino/devel grhino-0.16.0-emptyelse.patch, NONE, 1.1 grhino-0.16.0-gcc43.patch, NONE, 1.1 grhino-0.16.0-types.patch, NONE, 1.1 grhino.spec, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list