1 # This version needs to match the tarball and unpacked directory name.
4 BuildRequires: php-pear
5 BuildRequires: httpd-devel
10 License: GAGPL v3 or later
11 Source: statusnet-%{version}.tar.gz
12 Group: Applications/Internet
13 Summary: StatusNet, the Open Source microblogging platform
18 Requires: php-pear-Mail-Mime
21 Requires: php-mbstring
26 BuildRoot: %{_tmppath}/%{name}-%{version}-build
28 %define apache_serverroot %(/usr/sbin/apxs -q DATADIR)
29 %define apache_sysconfdir %(/usr/sbin/apxs -q SYSCONFDIR)
30 %define wwwpath %{apache_serverroot}/%{name}
31 %define confpath %{_sysconfdir}/%{name}
34 From the ABOUT file: StatusNet (pronounced "luh-KAWN-ih-kuh") is a Free
35 and Open Source microblogging platform. It helps people in a
36 community, company or group to exchange short (140 character) messages
37 over the Web. Users can choose which people to "follow" and receive
38 only their friends' or colleagues' status messages. It provides a
39 similar service to sites like Twitter, Jaiku, and Plurk.
49 mkdir -p %{buildroot}%{wwwpath}
50 cp -a * %{buildroot}%{wwwpath}
52 mkdir -p %{buildroot}%{_datadir}/statusnet
53 cp -a db %{buildroot}%{_datadir}/statusnet/db
55 mkdir -p %{buildroot}%{_datadir}/statusnet/avatar
57 mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
58 cat > %{buildroot}%{_sysconfdir}/httpd/conf.d/statusnet.conf <<"EOF"
59 Alias /statusnet/ "/var/www/statusnet/"
61 <Directory "/var/www/statusnet">
62 Options Indexes FollowSymLinks
76 %{_datadir}/statusnet/*
77 %attr(-,apache,apache) %dir %{_datadir}/statusnet/avatar
78 %doc COPYING README doc-src/*
79 %config(noreplace) %{_sysconfdir}/httpd/conf.d/statusnet.conf
82 * Wed Apr 03 2009 Zach Copley <zach@status.net> - 0.7.3
83 - Changed version number to 0.7.3.
85 * Fri Mar 13 2009 Ken Sedgwick <ksedgwic@bonsai.com> - 0.7.2.1-1
86 - Factored statusnet version to the first line of the file.
88 * Wed Mar 03 2009 Zach Copley <zach@status.net> - 0.7.2
89 - Changed version number to 0.7.2.
91 * Sat Feb 28 2009 Ken Sedgwick <ken@bonsai.com> - 0.7.1-1
92 - Modified RPM for Fedora.
94 * Thu Feb 13 2009 tuukka.pasanen@ilmi.fi
95 - packaged statusnet version 0.7.1
97 * Wed Feb 04 2009 tuukka.pasanen@ilmi.fi
98 - packaged statusnet version 0.7.0 using the buildservice spec file wizard