/[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.1 - (show annotations) (download)
Tue Dec 25 23:21:36 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package glpi-0.7-1.src.rpm

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

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