SPECS: pmount.spec (NEW) - initial

freetz freetz at pld-linux.org
Tue Aug 2 15:20:11 CEST 2005


Author: freetz                       Date: Tue Aug  2 13:20:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   pmount.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pmount.spec
diff -u /dev/null SPECS/pmount.spec:1.1
--- /dev/null	Tue Aug  2 15:20:11 2005
+++ SPECS/pmount.spec	Tue Aug  2 15:20:05 2005
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+Summary:	Programs for mounting and unmounting filesystems as normal user
+Summary(pl):	Programy do montowania i odmontowywania systemów plików jako zwykły user
+Name:		pmount
+Version:	0.9.3
+Release:	1
+License:	GPL v2
+Group:		Applications
+Source0:	http://www.piware.de/projects/%{name}-%{version}.tar.gz
+# Source0-md5:	c199e73ef33e649e33ff9c5b1f52a959
+Patch0:		%{name}-build_fixes.patch
+URL:		http://www.piware.de/projects.shtml
+BuildRequires:	hal-devel
+BuildRequires:	pkgconfig
+BuildRequires:	sysfsutils-devel
+Requires:	hal
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pmount is a wrapper around the standard mount program which permits
+normal users to mount/umount removable devices without a matching
+/etc/fstab entry.
+
+%description -l pl
+pmount jest wrapperem standardowego programu mount, który pozwala
+zwykłemu użytkownikowi na mountowanie/odmountowywanie urządzeń
+wymiennych nie posiadających wpisu w /etc/fstab.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	OPTFLAGS=%{_rpmcflags} \
+	CC=%{__cc} \
+	bindir=%{_bindir} \
+	datadir=%{_datadir} \
+	sysconfdir=%{_sysconfdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	bindir=%{_bindir} \
+	datadir=%{_datadir} \
+	sysconfdir=%{_sysconfdir}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES TODO
+%config(noreplace) %verify(not md5 mtime size) /etc/pmount.allow
+%attr(4755,root,root) %{_bindir}/pmount
+%attr(4755,root,root) %{_bindir}/pumount
+%attr(755,root,root) %{_bindir}/pmount-hal
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/02 13:20:05  freetz
+- initial
+
================================================================



More information about the pld-cvs-commit mailing list