]> git.pld-linux.org Git - packages/finder_applet.git/commitdiff
adapterized
authorMaciej Pijanka <agaran@pld-linux.org>
Thu, 26 Jul 2001 03:46:33 +0000 (03:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    finder_applet.spec -> 1.2

finder_applet.spec

index 7f96cfb156ca10c81b7721aa29c551a8f1fcc4fd..f9ef1569bb4522b66df3e400120575038b33b3a4 100644 (file)
@@ -1,36 +1,45 @@
-Summary: A Battery  monitor for linuxppc.
-Name: finder_applet
-Version: 0.4
-Release: 0
-Copyright: GPL
-Group: X11/Utilities
-Source: http://students.washington.edu/mpalczew/finder_applet-0.4.tar.gz
-BuildRoot: /var/tmp/%{name}-buildroot
+Summary:       A Battery  monitor for linuxppc.
+Name:          finder_applet
+Version:       0.4
+Release:       0
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
+Source0:       http://students.washington.edu/mpalczew/%{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
-This is a MacOS Finder like applet menu for GNOME.  
+This is a MacOS Finder like applet menu for GNOME.
 
 %prep
 %setup -q
 %build
-./configure --prefix=/usr --sysconfdir=/etc
-make 
+./configure --prefix=/usr --sysconfdir=%{_sysconfdir}
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/bin
-mkdir -p $RPM_BUILD_ROOT/etc/CORBA/servers/
-mkdir -p $RPM_BUILD_ROOT/usr/share/applets/Utility
-mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/finder_applet
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/CORBA/servers/
+install -d $RPM_BUILD_ROOT%{_datadir}/applets/Utility
+install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps/finder_applet
 
-install src/finder_applet $RPM_BUILD_ROOT/usr/bin
-install support/finder_applet.desktop $RPM_BUILD_ROOT/usr/share/applets/Utility
-install support/finder_applet.gnorba $RPM_BUILD_ROOT/etc/CORBA/servers
+install src/finder_applet $RPM_BUILD_ROOT%{_bindir}
+install support/finder_applet.desktop $RPM_BUILD_ROOT%{_datadir}/applets/Utility
+install support/finder_applet.gnorba $RPM_BUILD_ROOT%{_sysconfdir}/CORBA/servers
 
 %files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc README TODO COPYING 
 
-/usr/bin/finder_applet
-/usr/share/applets/Utility/finder_applet.desktop
-/etc/CORBA/servers/finder_applet.gnorba
+%attr(755,root,root) %{_bindir}/finder_applet
+%{_datadir}/applets/Utility/finder_applet.desktop
+%{_sysconfdir}/CORBA/servers/finder_applet.gnorba
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
This page took 0.052099 seconds and 4 git commands to generate.