]> git.pld-linux.org Git - packages/linphone.git/commitdiff
Separate package for linphonec
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 15 Dec 2012 12:54:29 +0000 (13:54 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 15 Dec 2012 12:54:29 +0000 (13:54 +0100)
linphone.spec

index 46307982606a48b1600d1a90c5ba3b11dbe3517d..754b824d4340148414007bb2f0af115411656f46 100644 (file)
@@ -1,6 +1,4 @@
 # TODO:
-#  - split main package to few smaller (there is linphonec for console,
-#    auto-answering machine and linphone applet for gnome)
 #  - check if all this configure option I've set are really needed
 #  - separate libraries that do not require gnome into subpackages for Jingle support in kopete
 # - packages copies for "libmediastreamer.so.1", "libortp.so.8" libraries
@@ -84,6 +82,19 @@ Główne cechy linphone:
 - jest wolnodostępnym oprogramowaniem (na licencji GPL)
 - ma dokumentację: pełny podręcznik dostępny z aplikacji.
 
+%package -n linphonec
+Summary:       Linphone Internet Phone console interface
+Summary(pl.UTF-8):     Linphone - telefon internetowy, interfejs konsolowy
+Group:         Applications/Communications
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description -n linphonec
+Linphonec is the console version of  originally  Gnome  internet  phone
+Linphone.
+
+%description -n linphonec -l pl.UTF-8
+Linphonec to konsolowa wersja GNOME'owego telefonu internetowego Linphone.
+
 %package libs
 Summary:       Linphone libraries
 Summary(pl.UTF-8):     Biblioteki Linphone
@@ -187,6 +198,10 @@ rm -r $RPM_BUILD_ROOT/usr/share/doc/linphone
 
 mv $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}
 
+# the executable is missing, so the manual is useless
+rm $RPM_BUILD_ROOT%{_mandir}/man1/sipomatic.1*
+rm $RPM_BUILD_ROOT%{_mandir}/cs/man1/sipomatic.1*
+
 %find_lang %{name} --with-gnome --all-name
 
 %clean
@@ -207,13 +222,22 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/*.desktop
+%attr(755,root,root) %{_bindir}/linphone
+%{_desktopdir}/linphone.desktop
 %{_pixmapsdir}/linphone.png
 %{_pixmapsdir}/linphone
 %{_datadir}/linphone
-%{_mandir}/man1/*
-%lang(cs) %{_mandir}/cs/man1/*
+%{_mandir}/man1/linphone.1*
+%lang(cs) %{_mandir}/cs/man1/linphone.1*
+
+%files -n linphonec
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/linphonec
+%attr(755,root,root) %{_bindir}/linphonecsh
+%{_mandir}/man1/linphonec.1*
+%{_mandir}/man1/linphonecsh.1*
+%lang(cs) %{_mandir}/cs/man1/linphonec.1*
 
 %files libs
 %defattr(644,root,root,755)
This page took 0.080182 seconds and 4 git commands to generate.