]> git.pld-linux.org Git - packages/AnotherLevel.git/commitdiff
- misc fixes and cleanups
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Aug 1999 17:03:59 +0000 (17:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    AnotherLevel.spec -> 1.2

AnotherLevel.spec

index cfe96ec417fb6e04e68ca79173994180d832de99..6fe68e1149a57f0cb56154f55fce4f0505796dc7 100644 (file)
@@ -1,14 +1,14 @@
-Summary: A customized configuration of the fvwm2 window manager.
-Name: AnotherLevel
-Version: 0.9
-Release: 1
-Copyright: distributable
-Group: User Interface/Desktops
-Source: AnotherLevel-0.9.tar.gz
-Requires: m4, fvwm2, fvwm2-icons, wmconfig > 0.3, redhat-logos
+Summary:       A customized configuration of the fvwm2 window manager.
+Name:          AnotherLevel
+Version:       0.9
+Release:       1
+Copyright:     distributable
+Group:         User Interface/Desktops
+Source:                AnotherLevel-0.9.tar.gz
+Requires:      m4, fvwm2, fvwm2-icons, wmconfig > 0.3, redhat-logos
+BuildRoot:     /tmp/%{name}-%{version}-root
+Obsoletes:     TheNextLevel
 BuildArchitectures: noarch
-BuildRoot: /var/tmp/AnotherLevel-root
-Obsoletes: TheNextLevel
 
 %description 
 AnotherLevel is a custom configuration of the popular fvwm2
@@ -29,26 +29,27 @@ user.
 echo "No build necessary"
 
 %install
+rm -rf $RPM_BUILD_ROOT
 TOPDIR=$RPM_BUILD_ROOT make install
-mkdir -p $RPM_BUILD_ROOT/etc/X11/TheNextLevel
+install -d $RPM_BUILD_ROOT/etc/X11/TheNextLevel
 ln -sf ../AnotherLevel/fvwm2rc.m4 \
        $RPM_BUILD_ROOT/etc/X11/TheNextLevel/.fvwm2rc.m4
 
-mkdir -p $RPM_BUILD_ROOT/etc/X11/gdm/Sessions
-install -m 755 AnotherLevel.session \
+install -d $RPM_BUILD_ROOT/etc/X11/gdm/Sessions
+install AnotherLevel.session \
        $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/AnotherLevel
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc Sample.Xmodmap
 %dir /etc/X11/AnotherLevel
 %config /etc/X11/AnotherLevel/*
 /etc/X11/TheNextLevel
-/etc/X11/gdm/Sessions/AnotherLevel
+%attr(755,root,root) /etc/X11/gdm/Sessions/AnotherLevel
 /usr/share/icons/*.xpm
 /usr/share/icons/mini/*.xpm
 /usr/man/*/*
 /usr/X11R6/bin/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.144422 seconds and 4 git commands to generate.