From 484657b2cd96cba22f04bcf8955aa03facbe6288 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jun 2014 15:29:01 +0200 Subject: Split up server and client rpms --- Makefile.am | 3 ++- miav-client.spec | 38 ++++++++++++++++++++++++++++++++++++++ miav-server.spec | 38 ++++++++++++++++++++++++++++++++++++++ miav.spec | 35 ----------------------------------- 4 files changed, 78 insertions(+), 36 deletions(-) create mode 100644 miav-client.spec create mode 100644 miav-server.spec delete mode 100644 miav.spec diff --git a/Makefile.am b/Makefile.am index 123cf6b..7d03b4a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,8 @@ rpm: make dist cp miav-0.4.0.tar.gz rpmbuild/SOURCES - rpmbuild -ba miav.spec --define="%_topdir ${PWD}/rpmbuild" + rpmbuild -ba miav-client.spec --define="%_topdir ${PWD}/rpmbuild" + rpmbuild -ba miav-server.spec --define="%_topdir ${PWD}/rpmbuild" mv rpmbuild/RPMS/*/miav-*.rpm . diff --git a/miav-client.spec b/miav-client.spec new file mode 100644 index 0000000..03e5384 --- /dev/null +++ b/miav-client.spec @@ -0,0 +1,38 @@ +Summary: MIaV client - The Multicast Image and Video project +Name: miav-client +Version: 0.4.0 +Release: 3 +License: GPL+ +Group: Multimedia +Source: miav-%{version}.tar.gz +URL: http://www.aasimon.org/miav +BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release} + +%description +%{summary} + +%prep +%setup -q + +%build +./configure --prefix=/usr --with-gui --without-server +make + +%install +%make_install + +%files +%defattr(-,root,root,-) +/ + +%changelog +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-3 +- Make client-only package + +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-2 +- Bump build number + +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-1 +- First Build + + diff --git a/miav-server.spec b/miav-server.spec new file mode 100644 index 0000000..f49e86d --- /dev/null +++ b/miav-server.spec @@ -0,0 +1,38 @@ +Summary: MIaV Server - The Multicast Image and Video project +Name: miav-server +Version: 0.4.0 +Release: 3 +License: GPL+ +Group: Multimedia +Source: miav-%{version}.tar.gz +URL: http://www.aasimon.org/miav +BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release} + +%description +%{summary} + +%prep +%setup -q + +%build +./configure --prefix=/usr --without-gui --with-server +make + +%install +%make_install + +%files +%defattr(-,root,root,-) +/ + +%changelog +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-3 +- Make server-only package + +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-2 +- Bump build number + +* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-1 +- First Build + + diff --git a/miav.spec b/miav.spec deleted file mode 100644 index e5acfae..0000000 --- a/miav.spec +++ /dev/null @@ -1,35 +0,0 @@ -Summary: MIaV - The Multicast Image and Video project -Name: miav -Version: 0.4.0 -Release: 2 -License: GPL+ -Group: Multimedia -Source: %{name}-%{version}.tar.gz -URL: http://www.aasimon.org/miav -BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release} - -%description -%{summary} - -%prep -%setup -q - -%build -./configure --prefix=/usr --with-gui --with-server -make - -%install -%make_install - -%files -%defattr(-,root,root,-) -/ - -%changelog -* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-2 -- Bump build number - -* Wed Jun 11 2014 Bent Bisballe Nyeng 0.4.0-1 -- First Build - - -- cgit v1.2.3