]> git.pld-linux.org Git - packages/drbl.git/blobdiff - drbl.spec
Up to 2.1.33
[packages/drbl.git] / drbl.spec
index 83a4b750f3ab6673361640dbfd91b413a72c54fa..a09911e61d1f4019a17fe32a4fc835b038f22ccf 100644 (file)
--- a/drbl.spec
+++ b/drbl.spec
@@ -5,15 +5,14 @@
 # - more FHS thing (config to /etc)
 Summary:       DRBL (Diskless Remote Boot in Linux) package
 Name:          drbl
-Version:       1.9.9
-Release:       21.1
+Version:       2.1.33
+Release:       0.1
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://downloads.sourceforge.net/drbl/%{name}-%{version}-21.tar.bz2
-# Source0-md5: 97b6393f87581a4e64a34690fdf8f40f
+Source0:       http://free.nchc.org.tw/drbl-core/src/unstable/%{name}-%{version}.tar.bz2
+# Source0-md5: ab5d805195c72b7638019a1259b682b8
 URL:           http://www.drbl.org/
 BuildRequires: bash
-BuildRequires: sed >= 4.0
 Requires:      findutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,9 +25,7 @@ includes Clonezilla, a partition and disk cloning utility similar to
 Symantec Ghost(TM) or True Image(TM).
 
 %prep
-%setup -q -n %{name}-%{version}-21
-
-grep -rl /opt/drbl/ . | xargs sed -i -e 's,/opt/drbl,%{_libdir}/%{name},g'
+%setup -q -n %{name}-%{version}
 
 %build
 %{__make} all
@@ -36,7 +33,6 @@ grep -rl /opt/drbl/ . | xargs sed -i -e 's,/opt/drbl,%{_libdir}/%{name},g'
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
-       maindir=%{_libdir}/%{name} \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -44,15 +40,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%defattr(-,root,root,-)
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/setup
-%{_libdir}/%{name}/conf
-%{_libdir}/%{name}/lang
-%{_libdir}/%{name}/pkg
-%{_libdir}/%{name}/pki
-%{_libdir}/%{name}/image
-%{_libdir}/%{name}/doc
-%{_libdir}/%{name}/sbin
-%{_libdir}/%{name}/bin
+%dir /etc/drbl
+/etc/drbl/*
+%attr(755,root,root) /usr/sbin/*
+%attr(755,root,root) /usr/bin/*
 %{_datadir}/gdm/themes/drbl-gdm
+%defattr(-,root,root,-)
+%{_datadir}/drbl
This page took 0.039868 seconds and 4 git commands to generate.