diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-11 14:02:55 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-11 14:02:55 +0200 |
commit | 03ea23b8e70cac9649ef0ed9793ddb4baf24894a (patch) | |
tree | ec0d26066d319ee7205e1f474bf1f922d8f8fab5 | |
parent | e8d7e063832c581aa7fedd5cacbbd21fd28af55a (diff) |
Add spec file and rp target.
-rw-r--r-- | Makefile.am | 25 | ||||
-rw-r--r-- | miav.spec | 31 |
2 files changed, 56 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 3db006e..5b8072b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,28 @@ AUTOMAKE_OPTIONS = gnu SUBDIRS = pixmaps tools src etc man DISTDIRS = pixmaps tools src etc man + +EXTRA_DIST = \ + hugin/hugin.h \ + hugin/hugin.hpp \ + hugin/hugin.c \ + hugin/hugin_util.h \ + hugin/hugin_filter.h \ + hugin/hugin_syslog.h \ + hugin/hugin_syslog.c + +rpm: + @echo "## Creating miav.rpm" + @echo "# Delete old rpmbuild (if one exists):" + rm -Rf rpmbuild + + @echo "# Create rpmbuild directories:" + mkdir -p rpmbuild/{RPMS,BUILD,SOURCES} + make dist + cp miav-0.4.0.tar.gz rpmbuild/SOURCES + + rpmbuild -ba miav.spec --define="%_topdir ${PWD}/rpmbuild" +# rpmbuild -bb miav.spec --define="%_topdir ${PWD}/rpmbuild" + + mv rpmbuild/RPMS/`arch`/miav-*.rpm . + diff --git a/miav.spec b/miav.spec new file mode 100644 index 0000000..3813f2a --- /dev/null +++ b/miav.spec @@ -0,0 +1,31 @@ +Summary: MIaV - The Multicast Image and Video project +Name: miav +Version: 0.4.0 +Release: 1 +License: GPL+ +Group: Multimedia +Source: %{name}-%{version}.tar.gz +URL: http://www.aasimon.org/miav +BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release} + +%description +%{summary} + +%prep +%autosetup + +%build +./configure --prefix=/usr --with-gui --with-server +make + +%install +%make_install + +%files +%defattr(-,root,root,-) +/ + +%changelog +* Wed Jun 11 2014 Bent Bisballe Nyeng <deva@aasimon.org> 0.4.0-1 +- First Build + |