summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/dos2unix.manifest5
-rw-r--r--packaging/dos2unix.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/dos2unix.manifest b/packaging/dos2unix.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/dos2unix.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/dos2unix.spec b/packaging/dos2unix.spec
index 1f4a69b..2586b1e 100644
--- a/packaging/dos2unix.spec
+++ b/packaging/dos2unix.spec
@@ -6,6 +6,7 @@ Summary: Text converters to and from DOS/MAC to UNIX
Url: http://waterlan.home.xs4all.nl/dos2unix.html
Group: Productivity/Text/Convertors
Source: http://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz
+Source1001: dos2unix.manifest
BuildRequires: gettext-tools
Provides: unix2dos = %{version}
Obsoletes: unix2dos < %{version}
@@ -20,6 +21,7 @@ format to DOS format and unix2dos converts from UNIX to MAC format.
%prep
%setup -q
+cp %{SOURCE1001} .
find . -type f | xargs chmod -x
%build
@@ -31,6 +33,7 @@ make %{?_smp_mflags} CC="gcc" HTMLEXT="html"
%{find_lang} dos2unix --all-name --with-man
%files -f dos2unix.lang
+%manifest %{name}.manifest
%defattr(-,root,root,0755)
%doc /usr/share/doc/%{name}-%{version}
%{_bindir}/dos2unix