Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[1c9840]: coastal-qt.spec Maximize Restore History

Download this file

coastal-qt.spec    136 lines (108 with data), 3.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Copyright (c) 2012 David Sugar, Tycho Softworks.
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
Name: coastal-qt
Group: Development/Libraries
Summary: Runtime library support for coastal applications
Version: 0.7.2
Release: 0%{?dist}
License: GPLv3+
URL: http://www.gnutelephony.org
Source: http://www.gnutelephony.org/dist/tarballs/coastal-qt-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: qt4-devel >= 4.8.0
BuildRequires: cmake >= 2.6.0
%package devel
Requires: %{name}-runtime = %{version}-%{release}
Requires: qt4-devel >= 4.8.0
Group: Development/Libraries
Summary: Headers for building coastal applications
%package manpager
Group: Applications/System
Summary: Desktop manpage viewer
Requires: %{name} = %{version}-%{release}
%package search
Group: Applications/System
Summary: Simple file search tool
Requires: %{name} = %{version}-%{release}
%package notify
Group: Applications/System
Summary: User daemon for notifications
Requires: %{name} = %{version}-%{release}
%package dialogs
Group: Applications/System
Summary: QT Dialog Applications
Requires: %{name} = %{version}-%{release}
%description manpager
Coastal Qt manpager application.
%description search
Coastal Qt search tool. Is somewhat like old gnome search tool.
%description notify
Coastal Qt notifications user deamon. This offers common desktop
user services for network alerts, desktop notifications, and multicast
chat.
%description devel
Header files for building applications with coastal library. Used in
conjunction with Qt.
%description
Runtime library required by coastal applications. This offers extensions
for the Qt framework that we use.
%description dialogs
Small coastal qt dialog applications.
%prep
%setup -q
%build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DSYSCONFDIR=%{_sysconfdir} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
-DINSTALL_MANDIR=%{_mandir} \
-DINSTALL_DATADIR=%{_datadir} \
-DINSTALL_LIBDIR=%{_libdir} \
-DINSTALL_BINDIR=%{_bindir} \
-DINSTALL_INCLUDEDIR=%{_includrdir}
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%{__rm} -rf %{buildroot}%{_libdir}/*.la
%clean
%{__rm} -rf %{buildroot}
%files manpager
%defattr(-,root,root,-)
%{_bindir}/coastal-manpager
%{_datadir}/applications/coastal-manpager.desktop
%{_datadir}/pixmaps/coastal-manpager.png
%files search
%defattr(-,root,root,-)
%{_bindir}/coastal-search
%{_datadir}/applications/coastal-search.desktop
%{_datadir}/pixmaps/coastal-search.png
%files notify
%defattr(-,root,root,-)
%{_bindir}/coastal-notify
%{_datadir}/pixmaps/coastal-notify.png
%files
%doc README COPYING TODO ChangeLog
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%files dialogs
%defattr(-,root,root,-)
%{_bindir}/coastal-icons
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/coastal.h
%{_libdir}/pkgconfig/*.pc
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%changelog