/[smecontribs]/rpms/glpi/contribs7/glpi.spec
ViewVC logotype

Contents of /rpms/glpi/contribs7/glpi.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Dec 25 23:23:29 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -2 lines
Fix spec

1 %define name glpi
2 Summary: glpi is an Information Resource Manager
3 Name: %{name}
4 %define version 0.7
5 %define release 1
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GNU GPL version 2
9 URL: http://www.glpi-project.org/
10 Group: SMEserver/addon
11 Source: glpi-0.70.tar.gz
12 BuildArchitectures: noarch
13 BuildRoot: /var/tmp/%{name}-%{version}
14 Requires: e-smith-release >= 7.0
15 AutoReqProv: no
16
17 %description
18 http://www.glpi-project.org
19 GLPI is the Information Resource Manager with an additional Administration Interface.
20 You can use it to build up a database with an inventory for your company (computer, software, printers...).
21 It has enhanced functions to make the daily life for the administrators easier,
22 like a job-tracking-system with mail-notification and methods to build a database with
23 basic information about your network-topology.
24
25
26 %changelog
27 * Mon Dec 24 2007 Stephen Noble <support@dungog.net> 0.7-1
28 - initial release
29 - builds from unchanged .tgz
30
31 %prep
32 %setup -c -n %{name}
33 %build
34 #this lets you drop a .tgz in with the root of glpi and it builds ok
35 mkdir -p root/opt/inventory/glpi
36 mv %{name} root/opt/inventory/glpi
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
41 rm -f %{name}-%{version}-filelist
42 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
43 --file '/opt/inventory/glpi/config_db.php' 'attr(440,root,www)' \
44 > %{name}-%{version}-filelist
45
46 %clean
47 cd ..
48 rm -rf %{name}
49
50 %pre
51 %preun
52 %post
53 %postun
54
55 %files -f %{name}-%{version}-filelist
56 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed